jsfinder

1.0.3 • Public • Published

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 (default: "./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
测试字符串(/Users/maoshuchen/Documents/dev/data/test/src/app/index.js:4:4)

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i jsfinder

Weekly Downloads

3

Version

1.0.3

License

MIT

Unpacked Size

7.49 kB

Total Files

6

Last publish

Collaborators

  • somewind