how to remove devdependencies from package.json code example Example 1: npm uninstall eslint npm uninstall <module_name> Example 2: webpack uninstall npm npm uninstall sax