npm

Download node.js eBook

Introduction

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.

Syntax

Parameters

ParameterExample
accessnpm publish --access=public
binnpm bin -g
editnpm edit connect
helpnpm help init
initnpm init
installnpm install
linknpm link
prunenpm prune
publishnpm publish ./
restartnpm restart
startnpm start
stopnpm start
updatenpm update
versionnpm version

Related Examples

Stats

2184 Contributors: 62
Wednesday, June 28, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook