2.1.0 • Published 3 years ago

couchdb-ensure v2.1.0

Weekly downloads
43
License
Apache-2.0
Repository
github
Last release
3 years ago

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
2.1.0

3 years ago

2.0.0

3 years ago

1.4.0

6 years ago

1.3.3

8 years ago

1.3.2

8 years ago

1.3.1

9 years ago

1.3.0

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago