Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

catbox-couchbase

yieldbot4MIT2.2.5

Couchbase adapter for catbox

couchbase, adapter, catbox, cache, hapi, hapijs

readme

catbox-couchbase

NPM Build Status

Couchbase adapter for catbox.

Installation

npm install catbox-couchbase

Usage

Options

  • location - Couchbase cluster location. Default localhost:8091
  • bucket - Couchbase bucket. Default: default
  • partition - Cache key prefix. Partition is intentionally used for cache key prefix since Couchbase recommends <= 10 buckets for per cluster. Also Catbox sets partition to catbox if it is not defined so use NONE for no partition.
  • flags - Flags
    • keepAlive - Keep connection alive. Default true
    • bypassCacheOnConnError - Bypass cache if there is a connection error. Default false
    • debug - List of flags (['events']) for debugging. Default []

See catbox client and couchbase for more details and options.

License

Licensed under The MIT License (MIT)
For the full copyright and license information, please view the LICENSE.txt file.

changelog

Changelog

2.2.4 (2016-01-06)

  • Pin couchbase dep version

2.2.3 (2015-11-04)

  • Upgrade couchbase to 2.1.x
  • Upgrade dev dependencies
  • Change license copyright

2.2.2 (2015-08-05)

  • Update timeouts and keep alive

2.2.1 (2015-08-03)

  • Change error event message

2.2.0 (2015-07-30)

  • Add keep alive feature
  • Add bypass event

2.1.0 (2015-07-28)

  • Add bypass cache flag
  • Add new server options

2.0.2 (2015-07-26)

  • Misc.updates

2.0.1 (2015-07-18)

  • Tidy changes

2.0.0 (2015-07-13)

  • Use mock for tests
  • Add bucket option
  • Change behavior for partition option

1.0.0 (2015-07-12)

  • Initial release