Skip to content

joeygeeeeee/package-json-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

package-json-cleaner

A nifty interactive cli tool to crawl through your code and find unused modules

sudo npm install -g package-json-cleaner

then

cd project-root

and then

package-json-cleaner

At 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

About

A nifty package.json clean up CLI tool

Resources

Stars

Watchers

Forks

Packages

No packages published