Node Package Manager (npm) provides following two main functionalities: Online repositories for node.js packages/modules which are searchable on search.nodejs.org. Command line utility to install Node.js packages, do version management and dependency management of Node.js packages.
Parameter | Example |
---|---|
access | npm publish --access=public |
bin | npm bin -g |
edit | npm edit connect |
help | npm help init |
init | npm init |
install | npm install |
link | npm link |
prune | npm prune |
publish | npm publish ./ |
restart | npm restart |
start | npm start |
stop | npm start |
update | npm update |
version | npm version |