mafintosh / changes-feed

Basic changes-feed implementation that runs on top of leveldb
MIT License
28 stars 3 forks source link

limit and reverse #1

Closed ghost closed 9 years ago

ghost commented 9 years ago

This patch forwards through opts.limit and opts.reverse to the underlying db.createReadStream() query. This is handy if you want the most recent N updates from a feed to display on a website.

mafintosh commented 9 years ago

Nice. Thanks for the patch. Released in 1.1.0