1.4.1 • Published 5 years ago

library-coverage v1.4.1

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

Library Coverage

Build Status XO code style

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.

npm.io

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