0.0.9 • Published 3 years ago
nv-cli-hoist-strlit v0.0.9
nv-cli-find-strlit
- cli-tool
- find strlitnetifier 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-strlit -g
usage
    Usage: nv_find_strlit [options]
    Options:
        -p, --path            path to search ,default ./
        -s, --string          strlitentifier name to be replaced,exact match
        -r, --regex           strlitentifier name regexp pattern
        -u, --suffixes        default js ts json
        -h, --help            usageexample
    nv_find_strlit  -p "./" -r json
    /mnt/sdb/NV5/NV5_/nvcli-/pkgs/JSCODING/nv-cli-find-strlit/cli.js
    Position { line: 26, column: 29 } Position { line: 26, column: 49 }
        "suffixes": "default js ts json"
    ==================
    /mnt/sdb/NV5/NV5_/nvcli-/pkgs/JSCODING/nv-cli-find-strlit/cli.js
    Position { line: 32, column: 28 } Position { line: 32, column: 34 }
        ['js', 'ts', "json"]
    ==================
    /mnt/sdb/NV5/NV5_/nvcli-/pkgs/JSCODING/nv-cli-find-strlit/index.js
    Position { line: 7, column: 33 } Position { line: 7, column: 39 }
        ['js', 'ts', "json"]
              LICENSE
- ISC
0.0.9
3 years ago