This is a fork of monk with mongoskin upgrade to v2, which use a more recent version of mongodb.
There is a pending pull request waiting to review, this package is for those who can't wait.
Simply npm install monkii
and replace require('monk')
with require('monkii')
.
monkii
is designed to be a drop-in replacement, it has the same API as monk
.
For documentation, please refer to monk's README.
If you encounter any problems, please file an issue along with a detailed description.
- all tests
node_modules/.bin/mocha
collection.update()
andcollection.remove()
now return the number of documents affected by the operation.- implements
collection.aggregate(stages, [options], fn)