dead-exports

1.0.13 • Public • Published

dead-exports

Find unused exports in your project. this includes classes, functions and anonymous functions

use npx:

npx dead-exports

or with settings:

npx dead-exports --e=folder --s=ignore,ingnoreMe

to change entry folder and ignore some folders

by default it will look recursively in your ./src folder but this can be changed if you don´t want a folder to be searched use --s (skip), this can be handy if you have a subrepo.

Command Explanation - Default Example
--e= sets the entry of the search --e=./src npx dead-exports --e=folder
--s= ignore some folders --s= npx dead-exports --s=ignore,ingnoreMe

please report any bugs at https://github.com/Tobbb/dead-exports

Package Sidebar

Install

npm i dead-exports

Weekly Downloads

338

Version

1.0.13

License

MIT

Unpacked Size

4.53 kB

Total Files

4

Last publish

Collaborators

  • tobester