nsx
is command-line interface which allows you to run a npm script by:
- its full name (
compile
); - the first letters (
comp
forcompile
); - a shortened alias (
bd
forbuild:dev
).
If the name can't be matched to a single script, a prompt will asked you to desired script to run.
You can pass arguments to the script without any additional --
.
With node previously installed:
npm install @zokugun/nsx
nsx l --fix
# npm lint -- --fix
Option | Default | Description |
---|---|---|
-c , --confirm |
false |
Confirm before running the selected script. |
-p , --path |
"." |
Path to the folder containing package.json . |
-s , --separator |
":" |
The separator for shortened alias. |
Support this project by becoming a financial contributor.
![]() |
ko-fi.com/daiyam |
![]() |
liberapay.com/daiyam/donate |
![]() |
paypal.me/daiyam99 |
Copyright © 2025-present Baptiste Augrain
Licensed under the MIT license.