This following article provides all the useful and required npm commands for the developers.
Initialize npm
npm init
Install a package
npm i <package_name>
Remove the node_modules folder.
rm -rf node_modules
Clear npm cache
npm cache clean --force
This following article provides all the useful and required npm commands for the developers.
npm init
npm i <package_name>
rm -rf node_modules
npm cache clean --force