Skip to content

bluedaniel/library-coverage

Repository files navigation

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.

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

About

🕵️ Shows used & unused exports for a 3rd party library in your source

Resources

License

Stars

Watchers

Forks

Packages

No packages published