Mongoskin
mongoskin
The future layer above node-mongodb-native.
mongoskin -> The promise wrapper for node-mongodb-native, makes life easier by helping us to work easily with mongodb, but how?
Check this out!
Install it like any other module: $ npm install mongoskin
With mongoskin you can dburl like mongodb://localhost:27017/test
or use Replset :
1 2 3 4 5 |
|
Where Server
is require('mongoskin').Server
Example usage of data insertion:
1 2 3 4 5 6 7 8 9 10 |
|
It has an extensive API with sleeker syntax compared with native.