npm unsistall code example
Example 1: how to uninstall npm package
npm uninstall -g <module_name> //to uninstall globally
Example 2: how to globally uninstall npm package
npm uninstall -g <@scope/package_name>
npm uninstall -g <module_name> //to uninstall globally
npm uninstall -g <@scope/package_name>