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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@iamgautamsuthar/flux

v0.2.1

Published

Flux is a simple, lightweight package manager for managing dependencies in your project, allowing easy installation of npm packages.

Readme

Flux

A minimal package manager for JavaScript projects. Flux installs, updates, and removes npm packages from the command line.

Flux is alpha software and is not ready for production use. It installs direct dependencies only; see Limitations.

Contents

Installation

npm

Requires Node.js 18 or later.

npm install -g @iamgautamsuthar/flux

To run it without installing:

npx @iamgautamsuthar/flux --help

Standalone binary

The binary is self-contained and does not require Node.js.

Linux and macOS:

curl -fsSL https://raw.githubusercontent.com/callmegautam/flux/main/install.sh | sh

Windows, in PowerShell. This installs per-user and does not need administrator rights:

irm https://raw.githubusercontent.com/callmegautam/flux/main/install.ps1 | iex

Binaries for linux-x64, linux-arm64, darwin-x64, darwin-arm64, and windows-x64 are attached to every release, along with a SHA256SUMS file that both install scripts verify automatically.

Both scripts read two optional environment variables:

| Variable | Default | | --- | --- | | FLUX_VERSION | latest release | | FLUX_INSTALL_DIR | ~/.local/bin on Unix, %LOCALAPPDATA%\flux\bin on Windows |

Updating

Re-run whichever command you installed with.

Uninstalling

npm uninstall -g @iamgautamsuthar/flux

For the standalone binary on Unix, delete it:

rm ~/.local/bin/flux

Commands

flux init                     Create a package.json
flux install                  Install every dependency in package.json
flux install <package>        Install one package and record it
flux uninstall [package]      Remove one package, or all of them
flux reinstall [package]      Reinstall one package, or all of them
flux update [package]         Update one package, or all of them
flux list                     List installed dependencies
flux outdated                 Show packages with a newer version available
flux info <package>           Show registry information for a package
flux run <script>             Run a script from package.json
flux clear                    Delete the download cache

Most commands have aliases, such as add for install and ls for list. Run flux --help for the full list.

A typical session:

flux init
flux install express
flux list
flux update express
flux uninstall express

Pass --flux to install to resolve tarballs through the Flux registry instead of npm.

Configuration

Downloaded tarballs are cached per user:

| Platform | Location | | --- | --- | | Linux | $XDG_CACHE_HOME/flux, or ~/.cache/flux | | macOS | ~/Library/Caches/flux | | Windows | %LOCALAPPDATA%\flux\Cache |

Set FLUX_CACHE_DIR to override this. Run flux clear to empty the cache.

Limitations

Flux is an alpha release, and these gaps are worth knowing before you rely on it:

  • Only direct dependencies are installed. Flux does not walk the dependency tree, so most real packages will not work end to end.
  • There is no lockfile, so installs are not reproducible.
  • Version ranges are not resolved. A ^1.2.3 range installs the latest published version rather than the newest match within the range.
  • There is no test suite.

Planned work includes dependency resolution, a lockfile, registry search, a dependency tree viewer, parallel installs, workspace support, and vulnerability scanning.

Contributing

Contributions are welcome. See docs/CONTRIBUTING.md for how to set up the project, run it locally, and publish a release.

The short version:

  1. Fork the repository and branch off dev.
  2. Make your change, then run pnpm typecheck and pnpm build.
  3. Open a pull request against dev describing what changed and how you verified it.

Open tasks and known bugs are in the issues tab.

License

MIT