bbnano

0.3.1 • Public • Published

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

/bbnano/

    Package Sidebar

    Install

    npm i bbnano

    Weekly Downloads

    5

    Version

    0.3.1

    License

    none

    Last publish

    Collaborators

    • stephank