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

run-all-now

v1.0.3

Published

Drop-in npm-run-all replacement powered by Rust with zero runtime dependencies.

Readme

run-all-now

Run npm scripts in sequence or parallel without npm-run-all's dependency tree.

run-all-now is an API-compatible replacement for npm-run-all. It keeps the familiar npm-run-all, run-s, and run-p commands, supports CommonJS and ESM, and uses one native Rust binary for orchestration.

Original package links: npm-run-all on npm, mysticatea/npm-run-all on GitHub.

Install

npm i -D run-all-now

Node.js 18+ is required for the package API and launchers.

The package does not run preinstall, install, or postinstall scripts. The JavaScript launchers select the matching optional native package at runtime. If the native binary is missing for your platform, run-all-now fails loudly instead of silently falling back to slower shell tooling.

Replace the package, not your scripts:

- npm i -D npm-run-all
+ npm i -D run-all-now
{
  "scripts": {
    "build": "run-s clean build:*",
    "dev": "run-p watch:*",
    "ci": "npm-run-all --silent lint test build"
  }
}

CLI

run-s clean lint build
run-p --max-parallel 4 "watch:* -- --color"
npm-run-all clean --parallel "build:* -- --watch" --sequential test

run-s runs scripts sequentially. run-p runs scripts in parallel. npm-run-all supports mixed sequential and parallel groups.

Supported compatibility flags:

  • -c, --continue-on-error
  • -l, --print-label
  • -n, --print-name
  • -p, --parallel
  • -s, --sequential, --serial, --silent in run-s / run-p
  • -r, --race
  • --aggregate-output
  • --max-parallel <number>
  • --npm-path <path>
  • -- argument forwarding and {1}, {@}, {*}, {n:-default}, {n:=default} placeholders

Glob-like script patterns use : as the separator:

run-s build:*
run-p watch:**

Node API

CommonJS:

const runAll = require('run-all-now')

ESM:

import runAll from 'run-all-now'

Use the same function in both module systems:

await runAll(['clean', 'lint', 'build:*'], {
  parallel: false,
  stdout: process.stdout,
  stderr: process.stderr
})

await runAll(['watch:* -- --color'], {
  parallel: true,
  maxParallel: 4,
  printLabel: true
})

Resolved values match npm-run-all:

[
  { name: 'clean', code: 0 },
  { name: 'lint', code: 0 }
]

Failures reject with NpmRunAllError and include error.results.

Compatibility

run-all-now runs tasks through npm or yarn. It does not reimplement package-manager script semantics. This keeps environment setup, lifecycle behavior, and script argument forwarding compatible with existing projects.

Native packages are available for macOS, Linux, and Windows on x64/arm64.

Benchmark

Local darwin-arm64 snapshot. Runtime uses npm run benchmark with run-s --silent noop:0. Lower is better.

| Metric | npm-run-all | run-all-now | Improvement | | --- | ---: | ---: | ---: | | Direct runtime deps | 9 | 0 | 9 fewer | | node_modules size | 17.6 MB | 552 KiB | 32.6x smaller | | Average runtime | 201 ms | 150 ms | 1.34x faster | | Peak memory footprint | 24.4 MB | 13.3 MB | 1.83x smaller |

%%{init: {"theme": "dark", "themeVariables": {"xyChart": {"plotColorPalette": "#fb7185,#22c55e"}}}}%%
xychart-beta
  title "Dependencies: 9 fewer direct runtime deps"
  x-axis ["direct runtime deps"]
  y-axis "count" 0 --> 10
  bar [9]
  bar [0]
%%{init: {"theme": "dark", "themeVariables": {"xyChart": {"plotColorPalette": "#fb7185,#22c55e"}}}}%%
xychart-beta
  title "Installed size: 32.6x smaller"
  x-axis ["node_modules MB"]
  y-axis "MB" 0 --> 18
  bar [17.6]
  bar [0.54]
%%{init: {"theme": "dark", "themeVariables": {"xyChart": {"plotColorPalette": "#fb7185,#22c55e"}}}}%%
xychart-beta
  title "Speed: 1.34x faster"
  x-axis ["average runtime ms"]
  y-axis "ms" 0 --> 220
  bar [201]
  bar [150]

In each chart, the first bar is npm-run-all and the second green bar is run-all-now.

Run the benchmark locally:

npm run build
npm run benchmark

Development

cargo fmt --check
cargo clippy --all-targets -- -D warnings
npm test
npm run pack:check

License

MIT