#command-runner #finds #tiny #cli #right #run #args

app nw

A tiny CLI that finds and runs the right command runner

3 releases (breaking)

0.3.0 Jan 18, 2025
0.2.0 Jan 18, 2025
0.1.0 Jan 18, 2025

#1130 in Command line utilities

Download history 324/week @ 2025-01-17

324 downloads per month

MIT license

4KB

nw

A tiny CLI that finds the command runner used in the current project and runs it with the passed arguments.

So instead of looking up if a project uses pnpm, Yarn, or npm, you can just run nw test, and it will delegate the command to the correct runner.

Here's the list of supported runners:

Runner Command
Just just ARGS
Make make ARGS
npm npm run ARGS
pnpm pnpm run ARGS
Yarn yarn run ARGS
cargo cargo ARGS

Getting started

Installation

To install nw, you can use cargo:

cargo install nw

Changelog

See the changelog.

License

MIT © Sasha Koss

No runtime deps