Socket
Socket
Sign inDemoInstall

couchdb-configure

Package Overview
Dependencies
57
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

couchdb-configure

Configure CouchDB from file or directory.


Version published
Maintainers
1
Weekly downloads
473
decreased by-26.55%

Weekly downloads

Readme

Source

CouchDB Configure

Configure CouchDB database server from filesystem.

API

configure(url, source[, options], callback)
  • url - CouchDB server URL
  • source - Can be a Couchapp Directory Tree, JSON file or CommonJS/Node module. Please see couchdb-compile for in depth information about source handling.
  • callback - called when done with a response object describing the status of all operations.

Example

var configure = require('couchdb-configure')
configure('http://localhost:5984', 'couchdb/config.json', function(error, response) {
  // here we go
})

CLI

couchdb-configure URL [SOURCE]

When SOURCE is omitted, the current directory will be used.

Example

couchdb-configure http://localhost:5984 couchdb/config.json

Tests

npm test

Keywords

FAQs

Last updated on 14 Oct 2021

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