Skip to content
This repository was archived by the owner on Apr 5, 2018. It is now read-only.

Add support for couch databases without authentication#1

Open
jvdweerthof wants to merge 1 commit intorvagg:masterfrom
jvdweerthof:no_auth
Open

Add support for couch databases without authentication#1
jvdweerthof wants to merge 1 commit intorvagg:masterfrom
jvdweerthof:no_auth

Conversation

@jvdweerthof
Copy link

Allows access to couch without authentication by setting user and/or pass to anything that is boolean false (false, null, undefined etc).

Example usage:

const CouchReplicator = require('couch-replicator-api')

    , replicator = new CouchReplicator(
          'http://npm.nodejs.org.au:5984'
        , false
        , false
        , 'registry'
      )

Allows access to couch without authentication by setting user and/or pass to anything that is boolean false (false, null, undefined etc).

Example usage:
```js
const CouchReplicator = require('couch-replicator-api')

    , replicator = new CouchReplicator(
          'http://npm.nodejs.org.au:5984'
        , false
        , false
        , 'registry'
      )
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant