From 807abf35652eba6f9ef0bf46179b334104a08cdb Mon Sep 17 00:00:00 2001 From: Erwan Roussel Date: Sat, 26 May 2018 22:09:47 +0200 Subject: [PATCH] Documentation for Npm plugin added --- plugins/npm/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 plugins/npm/README.md diff --git a/plugins/npm/README.md b/plugins/npm/README.md new file mode 100644 index 000000000..52e2f099e --- /dev/null +++ b/plugins/npm/README.md @@ -0,0 +1,23 @@ +## The npm Plugin + +The [npm](https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/npm) plugin provides many [aliases](#aliases). + +Enable it by adding _npm_ to the [_plugins array_](https://github.com/robbyrussell/oh-my-zsh/blob/master/templates/zshrc.zsh-template#L61) before sourcing OMZ (see [[Plugins]]). + +## Aliases + +| Alias | Command | +|:------------|:-----------------------------| +| npmg | npm i -g | +| npmS | npm i -S | +| npmD | npm i -D | +| npmE | PATH="$(npm bin)":"$PATH" | +| npmO | npm outdated | +| npmV | npm -v | +| npmL | npm list | +| npmL0 | npm ls --depth=0 | +| npmst | npm start | +| npmt | npm test | +| npmR | npm run | +| npmP | npm publish | +| npmI | npm init | \ No newline at end of file