Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 519 Bytes

node.md

File metadata and controls

41 lines (30 loc) · 519 Bytes

To upgrade npm on windows (PowerShell)

Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm install -g npm-windows-upgrade
npm-windows-upgrade

To list node configuration info

npm config ls

To show outdated node modules

npm outdated

To remove unwanted packages with respect with package.json

npm prune

To List module owners

npm owner ls

To install and save

npm install --save

To publish the module

npm publish