stream the lines of a file in reverse order!
read a file backwards.
var fsR = require'fs-reverse'fsRfilename optspipewritableStream
the file will be read from the tail end, split into lines, and emitted in reverse order.
default options are:
flags: 'r' //may only be 'r' or 'rx'mode: 0666bufferSize: 64 * 1024matcher: '\n' //may be a string or regular expression.
matcher, the options are a subset of
createReadStream in fs
If matcher is a regular expression with a group, like
then the split pattern will be perserved and emitted as a chunk.
MIT / Apache 2