Skip to content
sets up couchdb nicely
CoffeeScript JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src
test
.gitignore
cradle-init.js
package.json
readme.markdown
wscript

readme.markdown

cradle-init

creates database if necessary, and updates views. (clobbers, currently)

var db = require('cradle-init')(name, opts)
  .view('group/item', function (doc){//map function
    emit(key,value)
    }, function (key,values){

    }).ready(function (err,db){//create and intiailze database.
    })
Something went wrong with that request. Please try again.