NPM
How to test local package
For Example
cd ~/projects/node-redis
npm link
cd ~/projects/node-bloggy
npm link redis # links to your local redisTo reinstall from your package.json
npm unlink redis
npm install
sudo npm rm --global foo # This will uninstall the package.To check whether a package is installed, the npm ls command can be used
npm ls command can be usednpm ls --global fooNPM package
Increase patch version
npm version patchPublish
npm publishGlobal installation
List all the globally installed packages
npm list -g --depth 0Uninstall globally installed package
npm -g uninstall <module_name>Last updated
Was this helpful?