npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

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

install

npm i require-analyse

Downloadsweekly downloads

7

version

0.2.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability