1.0.3 • Published 3 years ago

nv-cli-idfreq v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

nv-cli-idfreq

  • nv-cli-idfreq
  • cli tool, extract identifiers frequence of a js-project

install

  • npm install nv-cli-idfreq -g

usage

nv-cli-idfreq# nv_idfreq -h


Usage: nv_idfreq [options] | egrep ....
Options:
   -i, --indir            project dir
   -o, --outdir           output ,if skip a random name generated under current dir 
   -h, --help             Output usage information

example

nv-cli-idfreq# nv_idrefq  -i /@angular/compiler/esm2015/src/ml_parser/

succ: /@angular/compiler/esm2015/src/ml_parser/ast.js
succ: /@angular/compiler/esm2015/src/ml_parser/html_parser.js
succ: /@angular/compiler/esm2015/src/ml_parser/html_tags.js
succ: /@angular/compiler/esm2015/src/ml_parser/html_whitespaces.js
succ: /@angular/compiler/esm2015/src/ml_parser/icu_ast_expander.js
succ: /@angular/compiler/esm2015/src/ml_parser/interpolation_config.js
succ: /@angular/compiler/esm2015/src/ml_parser/lexer.js
succ: /@angular/compiler/esm2015/src/ml_parser/parser.js
succ: /@angular/compiler/esm2015/src/ml_parser/tags.js
succ: /@angular/compiler/esm2015/src/ml_parser/xml_parser.js
succ: /@angular/compiler/esm2015/src/ml_parser/xml_tags.js

nv-cli-idfreq# ls -l | egrep id
-rw-r--r--  1 root root  6252 May  2 07:43 cc939433-6124-47.id
nv-cli-idfreq# more cc939433-6124-47.id
TokenType 109
chars 106
_cursor 92
start 79
....

LICENSE

  • ISC