require-analyse

0.2.0 • Public • Published

Require analyse

npm license Build Status Coverage Status dependencies Status devDependencies Status Known Vulnerabilities Donate

Simple analyse of requires to find unused (dead) and most used code.

Installation

npm install -g require-analyse

Usage

Usage: analyse <command> [options]
 
Commands:
  analyse  analyse files
 
Options:
  --version         Show version number                                [boolean]
  --files           overrided node paths                                 [array]
  --ignoreFileName  ignore files which name includes those substrings    [array]
  --ignoreDir       ignore dirs with exactly those names                 [array]
  --path            project path                             [string] [required]
  --debug           show debug output                                  [boolean]
  -h, --help        Show help                                          [boolean]

Sample

npx require-analyse --node_path /web/avia/lib/nodejs/ --node_path /web/avia/src/ --path /web/avia --ignoreFileName mcore_modules  --ignoreFileName /bin/  --ignoreFileName /DAL/ --ignoreDir .git  --ignoreDir tests  --ignoreDir node_modules

Readme

Keywords

Package Sidebar

Install

npm i require-analyse

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

9.59 kB

Total Files

5

Last publish

Collaborators

  • jehy-true