Skip to main content
The Deno 2 Release Candidate is here
Learn more

nps

deno land tag License: MIT

Interactive npm-scripts runner for Node.js projects.

image

Install

deno install --allow-read --allow-run --unstable https://deno.land/x/nps@{version}/nps.ts

Usage

Run following command in Node.js project.

nps

Filter npm-scripts

If an argument is provided, scripts are filtered by the value and prompt shows filtered items.
If given value matches only one script, the command is run immediately.

Pass arguments to command

Arguments after double dash (--) are treated as script command option like npm run.
All the arguments after the -- are passed directly to selected script.