apache / couchdb-nano

Nano: The official Apache CouchDB library for Node.js
https://www.npmjs.com/package/nano
Apache License 2.0
651 stars 165 forks source link

Document the options to `db.create()` #272

Closed jcoglan closed 3 years ago

jcoglan commented 3 years ago

In the source code, the createDb() function accepts an options object but this is not documented. The PUT /{db} endpoint 1 does have some query string options and nano users should be able to make use of them.