co-yongoose

A mongoose REPL with yield

npm install co-yongoose
1 downloads in the last week
6 downloads in the last month

co-yongoose

A mongoose REPL with yield support, based on Co and mongoose-q.

Install

npm install co-yongoose

Usage

$ node --harmony examples/index.js 
> Model loaded:  Post
> post = new Post({title: 'foo'})
> yield post.saveQ()
> yield Post.findQ()
npm loves you