npmsh

0.3.1 • Public • Published

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 ❤️ by @MarkTiedemann.

Package Sidebar

Install

npm i npmsh

Weekly Downloads

1

Version

0.3.1

License

WTFPL

Last publish

Collaborators

  • marktiedemann