how to uninstall a thing from npm code example
Example 1: npm uninstall
npm uninstall <module_name>
Example 2: how to uninstall npm package
npm uninstall -g <module_name> //to uninstall globally
npm uninstall <module_name>
npm uninstall -g <module_name> //to uninstall globally