Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

mongo-pipe-api mongojs Promise API compatible with PromisePipes

Mostly nodejs modules are not compatible with Promises.

With mongo-pipe-api you can write your code like

var PromisePipe = require('promise-pipe')();

PromisePipe.use('db', MongoPipeApi('test', ['Item']));

var putItemInDB = PromisePipe().db.insert.Item({item});

putItemInDB.then(function(){
  //item is in Item collection
})

About

PromisePipe mongo API

Resources

License

Releases

No releases published
You can’t perform that action at this time.