remove npm package from package.json code example
Example 1: uninstall nodemon globally
npm uninstall nodemon
Example 2: how to uninstall npm package
npm uninstall -g <module_name> //to uninstall globally
npm uninstall nodemon
npm uninstall -g <module_name> //to uninstall globally