FileSniffer
Find files by matching contents
Installation
npm install --save filesniffer
Usage
// Searches for `someString` in `/tmp/test.txt`, returning all matches as an array const matches = await FileSniffer ; console; // array of matching lines
Documentation
For more examples and API details, see API documentation
Test
npm test
Test Coverage
To generate a test coverage report:
npm run coverage