3.0.0 • Published 8 years ago

cti-couchbase-client v3.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

cti-couchbase-client

A wrapper of couchnode which provides a consistent way for connection and schema setup.

Usage

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() {
      ...
    } );
3.0.0

8 years ago

2.5.1

8 years ago

2.5.0

8 years ago

2.4.0

8 years ago

2.3.0

8 years ago

2.2.0

8 years ago

2.1.0

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago