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)
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 |
npm_aliases
: Show all aliases ofnpm
plugin.