# cti-couchbase-client

> A wrapper of couchnode which provides a consistent way for connection and design doc setup.

Latest version **3.0.0** (published 2016-02-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install cti-couchbase-client
pnpm add cti-couchbase-client
yarn add cti-couchbase-client
bun add cti-couchbase-client
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2016-02-26 |
| First published | 2015-12-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| Author | CTI |
| Maintainers | cantireinnovations |
| Keywords | couchbase, couchnode |

## Links

- npm: https://www.npmjs.com/package/cti-couchbase-client
- Repository: https://github.com/CanTireInnovations/cti-couchbase-client
- Homepage: https://github.com/CanTireInnovations/cti-couchbase-client#readme
- Issues: https://github.com/CanTireInnovations/cti-couchbase-client/issues
- npm.io page: https://npm.io/package/cti-couchbase-client

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md) ^3.10.1
- [bluebird](https://npm.io/package/bluebird.md) ^3.0.6
- [require-all](https://npm.io/package/require-all.md) ^2.0.0

## Recent versions

- 3.0.0 (latest) — 2016-02-26
- 2.5.1 — 2016-02-22
- 2.5.0 — 2016-02-16
- 2.4.0 — 2016-02-15
- 2.3.0 — 2016-02-12
- 2.2.0 — 2016-01-21
- 2.1.0 — 2016-01-04
- 2.0.1 — 2015-12-10
- 2.0.0 — 2015-12-07
- 1.0.1 — 2015-12-07
- 1.0.0 — 2015-12-03

## README

# cti-couchbase-client
A wrapper of couchnode which provides a consistent way for connection and schema setup.

## Usage

```js
const bunyan = require( 'bunyan' );
const CouchbaseClient = require( 'cti-couchbase-client' );
const pathLib = require( 'path' );

const log = bunyan.createLogger( { name: 'example' } );

const client = new CouchbaseClient( {
    cnstr: 'couchbase://localhost',
    log: log
  } );

const bucket = client.openBucket( {
    name: 'default',
    designDocsPath: pathLib.join( __dirname, 'designDocs' )
} );

return bucket
    .initAsync
    .then( function() {
      ...
    } );
```

---
_Source: https://npm.io/package/cti-couchbase-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
