NPM Commands | Description |
---|---|
npm adduser | The command used to verify the user name in a particular register and the user data is saved to .npmrc file. The default register is used if not registered. |
npm bin | The command will pint the folder where the executables installed by npm. |
npm bugs (package name) | The bug command tries to speculate the feasible area of a package's bug tracker URL, and after that tries to open it utilizing the --browser config param. |
npm build (package name) | The command build is an plumbing command and not to call directly and to be called by using npm install or npm link. |
npm cache | The command is used to clean the cache folder. |
npm completion | The command enables the tab-completion in all npm commands. |
npm config | The config setting for npm can be obtained from the nprmc files, environment variables, package.json or from the command line. |
npm debupe (package names) | The command search and simplify the overall structure of local package tree and move the dependencies further up the tree by which multiple dependency packages can share them effectively. |
npm deprecate | The command will update the package register entry with a deprecation warning while installing. |
npm docs | The docs command tries to speculate the feasible area of a package's bug tracker URL, and after that tries to open it utilizing the --browser config param. |
npm edit | The command is used to open the folder containing package in the deafult editor. |
npm explore | The command generate a sub-shell in the directory where the specified package located. |
npm help-search | The command search the npm markdown doc files with the given terms and provided a list. |
npm help (topic) | The command supplies a topic and give the exact doc page. |
npm init | The command ask various question and then write a package.json. |