npm i --save core-js@2 uninstall code example
Example 1: uninstall webpack globally
npm uninstall -g webpack
npm uninstall webpack
Example 2: how to unistall dependencies
npm un <package_name>
npm uninstall -g webpack
npm uninstall webpack
npm un <package_name>