0.0.10 • Published 10 years ago
package-json-cleaner v0.0.10
package-json-cleaner
A nifty interactive cli tool to crawl through your code and find unused modules
sudo npm install -g package-json-cleanerthen
cd project-rootand then
package-json-cleanerAt the moment package-json-cleaner considers require("something"); and import something from 'something'; to be valid usages of a module. If it finds modules from your package.json that are mentioned in other string constants it will ask you if it is a valid usage or not.
Options
-e,--exclude | exclude directories (comma delimited) | package-json-cleaner -e src/assets,dist |