Basic NPM Commands

To update NPM to its latest version
sudo npm install npm -g
npm update npm -g
To remove packages:-
npm uninstall packagename
npm rm packagename
npm uninstall --global babel-cli
To view global packages
npm ls -g
To view global node_modules
npm root -g
Linking and unlinking Packages using npm:-
Using npm, you can create links to local packages. When you link to a package, it can be referenced as if it were a global package. This is especially useful if you are developing a module and want another project to reference your local copy of the module. Linking is also useful if you want to deploy your module without publishing it to the public
npm registry.
cd bar-module
npm link foo-module
to navigate to a repository at browser from terminal:-
npm repo loopobject
npm help json => to see for definitive documentation on these fields
and exactly what they do.
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.