Socket
Socket
Sign inDemoInstall

couchdb-design-putter

Package Overview
Dependencies
19
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    couchdb-design-putter

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


Version published
Weekly downloads
4
increased by300%
Maintainers
1
Install size
1.32 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 12 Nov 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc