Simple tail
Simple module to tail files using Node.js
Install
npm install simple-tail --save
Usage
...// Inside an async function const data = await // [line1, line2, line3, ...]
Breaking changes from 1.0.0 to 1.1.x
- Since v1.1.0 it has a new dependency:
"mz": "^2.7.0"
. - Reverse parameter has been deprecated (always returns reversed result)
- Number of lines must be a non-zero integer.
Contributing
You should fork this repository and clone it. You must edit files under lib/
folder.
git clone https://github.com/<your_username>/simple-tail
cd simple-tail
npm install
npm test