node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

bbnano

bbnano Build Status

Extension for Backbone.js to sync with CouchDB using nano on Node.js.

Installing

npm install bbnano

Usage

var nano = require('nano')('http://localhost:5984/foo');
var bbnano = require('bbnano')(nano);

var doc = new bbnano.Model();
doc.save({ message: 'Hello world!' });

Hacking the code

git clone https://github.com/Two-Screen/bbnano.git
cd bbnano
npm install
curl -X PUT http://localhost:5984/bbnano_test
npm test