Skip to content

Latest commit

 

History

History

npm

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

npm plugin

The npm plugin provides some aliases and functions for npm.

To use it, add npm to plugins array in your ~/.bashrc or ~/.zshrc file:

export SF_PLUGINS=(... neovim)

Aliases

Alias Command
npmD npm i -D
npmDE npm i -D -E
npmDev npm run dev
npmE npm i -E
npmG npm i -g
npmi npm install
npmI npm init
npmIY npm init -y
npmL npm list
npmLG npm list -g
npmO npm outdated
npmOG npm outdated -g
npmS npm start
npmR npm run
npmT npm test
npmU npm uninstall
npmUG npm uninstall -g

Functions

  • npm_aliases: Show all aliases of npm plugin.