0.0.1 • Published 6 years ago

check-osaurus v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

Check-osaurus

Tool that checks project to find unused dependencies. It will aoutput the number of times that a dependencie is used in files and how many times it's used in total. It can be seen as a helper to know which dependencies are less used to reduce the amount of work for developers.

Installation

npm install check-osaurus

Requisites

  • You should have installed ripgrep in your environment first. This is required to be working on your bash in order to analyse the root folder.

Usage

In order to work on your project:

  1. Install check-osaurus as a local dependency.
  2. Create a file in your repo to provide the arguments.
const check = require('check-osaurus');

const ignoreFiles = ['package.json', 'node_modules', 'yarn.lock', '.git'];

check(2, ignoreFiles);

report summary example

Optional parameters

License

MIT License.

0.0.1

6 years ago