Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Latest commit

 

History

History
13 lines (10 loc) · 323 Bytes

readme.markdown

File metadata and controls

13 lines (10 loc) · 323 Bytes

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.
    })