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

@roulabs/mx

v1.2.2

Published

mx — run several features in parallel across shared repos using git worktrees

Readme

mx

mx ("multiplexer") runs several features in parallel across shared repos using git worktrees. Each feature gets an isolated environment — its own worktrees, branches, and ports — so you switch between features instantly without stashing or branch-juggling.

mx manages a runtime: a single mx/ folder holding pristine repo clones (repos/) and one folder per feature (works/), each with git worktrees on its own branch. mx owns the per-work manifest (work.json) and a VS Code workspace file; you drive everything through mx commands.

Install

npm install -g @roulabs/mx      # provides the `mx` command

Requires Node >= 22 and git.

Point mx at a runtime

mx resolves its runtime in this order: --runtime <path> flag, then $MX_RUNTIME, then the default ~/mx. Set it once in your shell:

export MX_RUNTIME="$HOME/mx"

Quick start

mx init                                  # scaffold the runtime (at $MX_RUNTIME or ~/mx)
mx repo add [email protected]:you/app.git   # clone a pristine repo into the runtime
mx work new my-feature                   # create a work (prints its folder path)
mx work -n my-feature worktree add app   # add a worktree on branch my-feature
mx work -n my-feature port set app web   # allocate a free port (across all works)
mx status                                # see repos, works, worktrees, ports

Inside a work folder or worktree you can drop -n — mx infers the work/repo from your cwd. Read commands accept --porcelain for stable JSON; errors are {"error","code"} with a non-zero exit.

Commands

| command | does | |---|---| | mx init [path] | scaffold/adopt a runtime (repos/, works/, .mx-root, CLAUDE.md) | | mx status [--porcelain] | list repos, works, worktrees, ports | | mx update | re-stamp the runtime's CLAUDE.md | | mx repo add <git-url> [--name <n>] | clone a pristine repo | | mx repo ls / mx repo -n <name> fetch\|info\|rm | manage pristine repos | | mx work new <name> [--description <t>] | create a work | | mx work ls / mx work -n <name> info\|describe\|path | manage works | | mx work -n <name> worktree add\|ls\|rm <repo> [--branch <b>] [--base <ref>] | manage worktrees | | mx work -n <name> port set\|unset\|ls <repo> <service> [<port>] | allocate/release ports | | mx work -n <name> destroy | remove worktrees + work folder (keeps branches) |

License

MIT