1.0.2 • Published 1 year ago

nv-cli-find-bilit v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

nv-cli-find-bilit

  • cli-tool
  • find bigint literal name in js/ts/json
  • this use RegExp + parser, so its slow IF too many files in path-dir, such as node_modules

install

  • npm install nv-cli-find-bilit -g

usage

    Usage: nv_find_bilit [options] 
    Options:
        -p, --path            path to search ,default ./
        -g, --ge              >= default is -Infinity
        -l, --lt              < default is +Infinity
        -r, --rgx             regex pattern, default /.*/
        -u, --suffixes        default js ts json
        -h, --help            usage

example

        nv-cli-find-bilit# nv_cli_find_bilit -p "./TEST"
        /mnt/sdb/NV5/NV5_/nvcli-/pkgs/JSCODING/nv-cli-find-bilit/TEST/tst.js
        Position { line: 1, column: 8 } Position { line: 1, column: 12 }
            a = 555
        ==================
        /mnt/sdb/NV5/NV5_/nvcli-/pkgs/JSCODING/nv-cli-find-bilit/TEST/tst.js
        Position { line: 4, column: 11 } Position { line: 4, column: 15 }
            return 666;
        ==================         
      

LICENSE

  • ISC