1.4.1 • Published 5 years ago
library-coverage v1.4.1
Library Coverage
This tool shows how many exports you are using within your codebase for a particular library or module.
This can be useful to find unused functions or methods that might better fit your needs.
Install
$ npm install library-coverage --global
Usage
$ library-coverage --help
Usage
$ library-coverage <input>
Options
--library, -l Library to evaluate
--parser, -p Parser to use (babel|babylon|flow) default: babel
Examples
$ library-coverage src/**/*.js -l ramda -p flow
$ library-coverage src/**/*.spec.js -l redux-sagas
License
MIT