npmsh
v0.3.1
Published
Shell for running npm cmds and scripts.
Downloads
40
Maintainers
Readme
npmsh
Shell for running npm cmds and scripts.
Installation
npm i -g npmsh
Quickstart
# Start the shell
$ npmsh
# => Now you can run npm cmds and scripts
# without the `npm ` or `npm run ` prefix
Built-in cmds:
λ start
# => npm start
Aliases:
λ i
# => npm i
package.json
scripts:
λ lint
# => npm run lint
Chaining:
λ build && test
# => npm run build && npm test
Flags:
λ serve --open
# => npm run serve -- --open
Reserved cmds:
λ clear
# => clear the screen
λ reload
# => reload the package.json scripts
λ exit
# => exit the screen
Also has tab completion!
License
WTFPL – Do What the F*ck You Want to Public License.
Made with :heart: by @MarkTiedemann.