co-mongo
mongo coroutine library based on co and node-mongodb-native
Installation
$ npm install comongo
Usage
var mongo = ;var db = mongo;var coll = db; // insertvar ret = coll; // cursor and queryvar cur = coll; // toArray and foreach cur; // Error handlertry // your co-mongo codes catch err // handles error from err
License
MIT