1.0.1 • Published 3 years ago

@antipol/search-word v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Search for any word in a specified file

  • Returns number of times the word occurs in specified file.
  • First argument is the word to search for
  • Second argument is the relative path to the file

Run:

node index searchWord relativePathToFile

to search for the specified word in the specified file.

1.0.1

3 years ago

1.0.0

3 years ago