0.2.0 • Published 6 years ago

require-analyse v0.2.0

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

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
0.2.0

6 years ago

0.1.0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago