Find JS Words
Features
Search for the specified string outside the comment //
or /* */
in the js file
Installation
npm i jsfinder -g
Usage
Usage: jsfinder [options] Options: -V, --version output the version number -s, --source [src] specify source dir relative path, defaults to ./src -r, --rule [rule] specify match rule, string or regex, defaults to [\u4e00-\u9fa5]+) -m, --print-matches only print match words -h, --help output usage information
$ jsfinder测试字符串