Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@kagamox/nps

Easy NPM Script Runner

npm script, scripts, script, npm, npm scripts, run, easy

readme

nps

This is a runner for npm scripts. You can use arguments within npm scripts using this, And also it is a quick way to run npm scripts.

Usage

nps <script> [arguments]
You can access arguments from the script using $<index> example:
If you run "nps hello world!"
And your script has:
echo "Hello $1"
It will output "Hello world!"
You can also use $* to get all the arguments.

Compatibility

  • <input checked="" disabled="" type="checkbox"> Windows
  • [?] Linux
  • [?] MacOS