package-json-cleaner

0.0.10 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i package-json-cleaner

Weekly Downloads

0

Version

0.0.10

License

MIT

Last publish

Collaborators

  • fr-animal