Skip to content
/ nps Public

Interactive npm-scripts runner for Node.js projects.

License

Notifications You must be signed in to change notification settings

ytakahashi/nps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nps

deno land tag License: MIT Actions Status

Interactive npm-scripts runner for Node.js projects.

image

Install

deno install --global --allow-read --allow-run --allow-env https://deno.land/x/nps/nps.ts

Update

deno install --global --force --reload --allow-read --allow-run --allow-env https://deno.land/x/nps/nps.ts

Usage

Run following command in Node.js project.

nps

If package-lock.json or yarn.lock or pnpm-lock.yaml exists in the directory, the appropriate command (npm or yarn or pnpm) will be executed to run the selected script.
See nps -h for details.

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.

About

Interactive npm-scripts runner for Node.js projects.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published