Necessary Pigeonholing Mechanism

    couchnode-pro

    1.0.7 • Public • Published

    couchnode-promise

    Couchnode with promises

    Usage

    'use strict'
    
    var Cb = require('./couchnode-pro').default;
    var db = new Cb({}, {cluster : 'couchbase://127.0.0.1'});
    
    db.read('1000', {})
    .then((data) => { 
    	console.dir(data); 
    })
    .catch((e) => { 
    	console.log('crap',e);
    });
    

    Install

    npm i couchnode-pro

    DownloadsWeekly Downloads

    4

    Version

    1.0.7

    License

    MIT

    Last publish

    Collaborators

    • doob