npm removal code example
Example 1: uninstall dependencies npm
npm uninstall <package_name>
//Example
npm uninstall mongoose
//A tip ctrl+c helps to terminate a job in terminal
Example 2: uninstall node package
npm uninstall <package_name>
npm uninstall <package_name>
//Example
npm uninstall mongoose
//A tip ctrl+c helps to terminate a job in terminal
npm uninstall <package_name>