0.0.2 • Published 5 years ago
unused-exports.ts v0.0.2
unused-exports.ts
Shamefully stolen CLI wannabe version of https://gist.github.com/dsherret/0bae87310ce24866ae22425af80a9864, thanks to @dsherret.
Usage
Basic
$ cd my-project/
$ unused-exports
Advanced
- custom tsconfig path (defaults to current directory tsconfig.json)
$ unused-exports --config my-project/path/to/tsconfig.json
- custom file patterns exclusion
$ unused-exports 'path/to/include/**/*' '!node_modules' '!src/to/exclude/**/*'