1.0.3 • Published 4 years ago
nv-cli-check-undeclare v1.0.3
nv-cli-check-undeclare
- nv-cli-check-undeclare
- check the maybe-undefined-variable
install
- npm install nv-cli-check-undeclare -g
usage
Usage: nv_chk_undecl [options]
Options:
    -i, --input         input string ,default stdin
    -o, --output        output string,default stdout
    -c, --chrome        if in chrome window
    -n, --node          if in node
    -s, --shared        only include shared global props
    -h, --help          usageexample
    function tst() {
        let x;
        function inner() {
            let z = y +x;
            return(Obejct.key(z))
        }
    }
    
    ////---->press  CTRL+D
    [
      [
        "y",
        {
          "line": 4,
          "column": 16
        },
        {
          "line": 4,
          "column": 17
        }
      ],
      [
        "Obejct",
        {
          "line": 5,
          "column": 15
        },
        {
          "line": 5,
          "column": 21
        }
      ]
    ]LICENSE
- ISC