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

@fiberfx/mx

v0.1.1

Published

Mercury CLI launcher: runs the native mx npm installed for this host and keeps it current from mx.jonnify.com.

Readme

@fiberfx/mx

The Mercury toolchain, mx, from npm: a small Node launcher and the native binary for your platform.

npm license

The mx course on mercury.jonnify.com

The mx course on mercury.jonnify.com.

Overview

mx is Mercury's native toolchain, written in Rust. It installs and verifies modules, builds apps, hosts and library packages, serves them with hot reload, and runs their tests in a real browser.

This package brings mx to any machine with Node. Its launcher, cli.mjs, is an ES module that runs under Node 20.6 or later; npm installs exactly one optional platform package, the one matching the host's operating system, CPU and C library, and the launcher starts that binary with your arguments, output and exit code unchanged. The package has no install script.

To create apps straight away, install @fiberfx/mercury instead: it depends on this release and fills the Mercury module cache when it installs, so mx new hello works offline from the first run.

Install

npm install --global @fiberfx/mx
mx --version

Or for one project:

npm install --save-dev @fiberfx/mx
npx mx --version

Keep optional dependencies enabled. The binary is an optional dependency, so an install with --omit=optional leaves the launcher without it.

Staying current

At most once a day the launcher asks https://mx.jonnify.com/releases/latest (GitHub releases if that fails) for the newest mx. When it is newer than the packaged binary, it downloads that release's archive for this host, checks it against the release's SHA256SUMS, confirms it reports the expected version, and installs it in ~/.mercury/bin (%LOCALAPPDATA%\Mercury\bin on Windows), printing one line on stderr. Later runs use the newer binary. A failed or offline check changes nothing: the packaged binary runs.

Set MX_NO_UPDATE=1 to never check; checks are also skipped when CI is set. The state lives in update.json beside the installed binary.

Platforms

| Platform | Package | Requires | | --- | --- | --- | | Linux x64 (glibc) | @fiberfx/mx-linux-x64 | glibc 2.39 or later | | Linux arm64 (glibc) | @fiberfx/mx-linux-arm64 | glibc 2.39 or later | | macOS arm64 | @fiberfx/mx-darwin-arm64 | macOS 11 or later | | macOS x64 | @fiberfx/mx-darwin-x64 | macOS 11 or later | | Windows x64 | @fiberfx/mx-win32-x64 | |

The launcher needs Node 18 or later. The Linux and macOS packages also carry hyperscript-lsap, the Hyperscript language server; the Windows package carries mx.exe alone. Linux with musl (Alpine) has no package yet.

Commands

| Command | What it does | | --- | --- | | mx build | Builds what the directory holds: mx.json makes a host build, index.html beside mx.mod an app bundle, and package.json exports naming source entries a library package. --host, --bundle, --lib and --package choose explicitly. | | mx dev | Serves the module or app with hot reload (--root, --port). | | mx test | Runs the module's tests in a browser, each file a page. MX_BROWSER names the browser, else the first Chromium found. | | mx run <script> | Runs a package.json script, or with -r the script of every package in the workspace, with a cache. | | mx install | Fills the module store from mx.mod, each tree held to mx.sum. | | mx check | Verifies a host build without writing anything. | | mx work | Manages a workspace of several modules (mx.work). |

mx <command> --help prints each command's usage. The first page walks from an empty directory to a running, styled app.

Troubleshooting

When the packaged binary is missing, the launcher explains what is missing rather than downloading anything:

  • missing optional package @fiberfx/mx-…: npm skipped the platform package. Reinstall @fiberfx/mx with optional dependencies enabled, on a supported platform.
  • unsupported platform …; this release provides …: no package matches this host; the message lists those that exist.
  • glibc … is too old or unknown: the Linux binaries need glibc 2.39 or later.

Without Node, use the release archives and their SHA-256 sums described in Install mx.

Documentation

Related

License

MIT. Each platform package also includes THIRD_PARTY_NOTICES.txt for the Rust crates linked into its binaries and the Rust standard library's license, RUST-STANDARD-LIBRARY.html.