A simple tool that lists your npm dependencies and runs npm uninstall
on the packages you'd like to uninstall
npm-uninstall
This CLI requires Node 8.10.0 or higher.
npm install -g npm-uninstall
or simply
npx npm-uninstall
- Looks for
package.json
in the current directory- Walks a maximum of 10 directories up until it finds
package.json
. Exits if not found.
- Walks a maximum of 10 directories up until it finds
- Provides a keyboard navigable list of dependencies to run
- Choose the dependencies you'd like to delete and press the
Enter
key - Done 🎉