$ npm install fs-backwards-streamexact same api as fs.createReadStream except reads chunks backwards. similar to fs-reverse except doesnt parse lines.
Stream data from start to end. if start is less than end they are switched rather then just not being useful.
var backwardsStream = require('fs-backwards-stream')
var s = backwardsStream(filename)
s.on('data',function(buf){
console.log(buf.toString());
})
[1 2 3 4 5 6 7 8 9 10 11 12 13 14]
start of file <---- end of file
start
end
block
shorterFirst