1.0.1 • Published 5 years ago
@antipol/search-word v1.0.1
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.