0.0.5 • Published 10 years ago

couchdb-design-putter v0.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

couchdb-design-putter

Aggregates views to designs via globbing and puts them into your couchdb

given the following folder structure

  • feature - views - testview1.js - testview2.js

results in a design document named 'feature', containing both views (testview1, testview2)

your view file must export a map or a reduce function (or both) otherwhise it will be ignored

Installation

$ npm install -g couchdb-design-putter

Usage

In your target directory:

$ couchdb-design-putter start

Or with globbing pattern

$ couchdb-design-putter start -d '**/_design/*.js'

With specific couchdb url

$ couchdb-design-putter start -b 'http://myserver/mybucket'

Authentication

You can use Basic Auth via Environment Variables

USER, PASSWORD

Note

it works only with node.js 6.x

Build Status

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago