Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

cradle-init

0.1.4 • Public • Published

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

Build Status

Keywords

none

install

npm i cradle-init

Downloadsweekly downloads

7

version

0.1.4

license

none

repository

githubgithub

last publish

collaborators

  • avatar
  • avatar