then-mongo
Promise based mongo driver built on mongojs
Installation
npm install then-mongo
Usage
Emulates the offical mongo api as far as is possible, except that the result of every operation is a promise, rather than being synchronous.
var mongo = ;var db = ; dbcollectionA ;
API
Exports a function connect(connectionString, collections?, options?)
and returns an instance of Database. If you pass in a list of collection names, then you can access each Collection as a property of the Database instance.
License
MIT