Looking for a package to manipulate cursors

Hey all,

I’m wondering if anyone knows of a package that can be used to “slice” cursors – essentially as described here: https://github.com/meteor/guide/issues/73. To repeat:

// returns a new cursor that does the "intersection" between `cursor` and `query` and `options`
CursorUtils.find(cursor, query, options)

// as above but findOne
CursorUtils.findOne(cursor, query, options)

It’s something I’ve half-built a couple of times, but I’m wondering if there is a package out there that I’m yet to find that does it? It would be great to find something that’s complete and maintained…

1 Like