0.0.2 • Published 9 years ago

co-clerk v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

co-clerk

CouchDB client for co using Clerk.

All async methods from Clerk in co-clerk return a co-yieldable Promise.

Installation

$ npm install co-clerk

Example

var co = require("co");
var clerk = require("co-clerk");
var couch = clerk();

co(function* () {
  var info = yield couch.info();
  console.log(info.data);
  return "done!";
}).then(function (msg) {
  console.log(msg);
});

License

MIT

0.0.2

9 years ago

0.0.1

9 years ago