npm uninstalll packages code example
Example 1: how to uninstall npm packages
npm uninstall --save
npm un
Example 2: how to uninstall npm package
npm uninstall -g //to uninstall globally
npm uninstall --save
npm un
npm uninstall -g //to uninstall globally