🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/jo/couchdb-ensure

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/jo/couchdb-ensure

v2.1.0+incompatible
Source
Go
Version published
Created
Source

CouchDB Ensure

Create database unless it exists.

API

ensure(url[, options], callback)

Example

var ensure = require('couchdb-ensure')
ensure('http://localhost:5984/mydb', function(error, response) {
  // here we go, mydb exists
})

CLI

couchdb-ensure URL

Example

couchdb-ensure http://localhost:5984/mydb

Tests

npm test

FAQs

Package last updated on 14 Oct 2021

Did you know?

Socket

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