npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

nodejs-dist-indexer

v1.7.2

Published

An application to create nodejs.org distribution index files: index.json and index.tab

Downloads

20

Readme

nodejs-dist-indexer

An application to create nodejs.org distribution index files: index.json and index.tab

Output can be seen at:

  • https://nodejs.org/download/release/index.tab
  • https://nodejs.org/download/release/index.json
  • https://iojs.org/download/release/index.tab
  • https://iojs.org/download/release/index.json

And all subdirectories of https://nodejs.org/download/ and https://iojs.org/download/ containing downloadable tarballs and installers.

Data

For the purpose of cataloguing files within each versioned subdirectory, nodejs-dist-indexer is able to:

  • Determine the specific version of each directory (just the directory name!)
  • Determine the date the distributables were built
  • Decode filenames to determine the OS / architecture / packaging available
  • Determine the version of dependencies bundled with Node.js, including:
    • npm
    • V8
    • libuv
    • zlib
    • OpenSSL
  • Determine the NODE_MODULES_VERSION for compiled add-on compatibility
  • Determine whether the version is an LTS or not

All of this data is made available in JSON and tab-separated format.

OS / architecture / packaging specifiers used in the listings include:

  • aix-ppc64: normally .tar.gz and .tar.xz
  • headers: normally .tar.gz and .tar.xz, downloaded by node-gyp
  • linux-arm64: normally .tar.gz and .tar.xz (also known as AArch64 or ARMv8)
  • linux-armv6l: normally .tar.gz and .tar.xz
  • linux-armv7l: normally .tar.gz and .tar.xz
  • linux-loong64: normally .tar.gz and .tar.xz
  • linux-ppc64le: normally .tar.gz and .tar.xz
  • linux-riscv64: normally .tar.gz and .tar.xz
  • linux-s390x: normally .tar.gz and .tar.xz
  • linux-x64: normally .tar.gz and .tar.xz
  • linux-x64-debug: normally .tar.gz and .tar.xz
  • linux-x64-glibc-217: normally .tar.gz and .tar.xz
  • linux-x86: normally .tar.gz and .tar.xz
  • osx-arm64-tar: normally .tar.gz and .tar.xz
  • osx-x64-pkg: OSX .pkg installer (64-bit only since io.js v1)
  • osx-x64-tar: normally .tar.gz and .tar.xz
  • src: normally .tar.gz and .tar.xz, full source used to build the distribution
  • sunos-x64: normally .tar.gz and .tar.xz
  • sunos-x86: normally .tar.gz and .tar.xz
  • win-x64-msi: Windows 64-bit .msi installer
  • win-x86-msi: Windows 32-bit .msi installer
  • win-x64-exe: Windows 64-bit bare node.exe, within a win-x64 directory
  • win-x86-exe: Windows 32-bit bare node.exe, within a win-x86 directory

Usage:

Create an index.json and index.tab from a given distribution directory that contains subdirectories that contain distributable files:

nodejs-dist-indexer \
  --dist /path/to/dist/directory/
  --indexjson /path/to/dist/directory/index.json
  --indextab /path/to/dist/directory/index.tab

List the type of distributable files contained within given directories:

nodejs-ls-types [-d] <directory>[ <directory> [<directory> ...]]

The -d argument is supplied if it is to only count files that have a corresponding .done file; this is used for promoting staged releases where the .done file indicates that an upload from a build server is complete.

Output looks like:

$ nodejs-ls-types latest*
latest: aix-ppc64 headers linux-arm64 linux-armv6l linux-armv7l linux-ppc64le linux-x64 linux-x86 osx-x64-pkg osx-x64-tar src sunos-x64 sunos-x86 win-x64-msi win-x86-msi
latest-argon: headers linux-arm64 linux-armv6l linux-armv7l linux-ppc64le linux-x64 linux-x86 osx-x64-pkg osx-x64-tar src sunos-x64 sunos-x86 win-x64-msi win-x86-msi
latest-v0.10.x: headers linux-x64 linux-x86 osx-x64-pkg osx-x64-tar osx-x86-tar src sunos-x64 sunos-x86 win-x86-exe win-x86-msi
latest-v0.12.x: headers linux-x64 linux-x86 osx-x64-pkg osx-x64-tar osx-x86-tar src sunos-x64 sunos-x86 win-x86-exe win-x86-msi
latest-v4.x: headers linux-arm64 linux-armv6l linux-armv7l linux-ppc64le linux-x64 linux-x86 osx-x64-pkg osx-x64-tar src sunos-x64 sunos-x86 win-x64-msi win-x86-msi
latest-v5.x: headers linux-arm64 linux-armv6l linux-armv7l linux-ppc64le linux-x64 linux-x86 osx-x64-pkg osx-x64-tar src sunos-x64 sunos-x86 win-x64-msi win-x86-msi
latest-v6.x: aix-ppc64 headers linux-arm64 linux-armv6l linux-armv7l linux-ppc64le linux-x64 linux-x86 osx-x64-pkg osx-x64-tar src sunos-x64 sunos-x86 win-x64-msi win-x86-msi

Managed under the governance of the Node.js Build Working Group.

Copyright (c) 2016 Node.js Foundation. All rights reserved.

Licensed under MIT, see the LICENSE.md file for details