Licence
ISC
Version
1.0.2
Deps
1
Size
4 kB
Vulns
0
Weekly
0
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 __CODE_BLOCK_0__lt;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
- Windows
- [?] Linux
- [?] MacOS