catbox-couchbase

Couchbase adapter for catbox

Usage no npm install needed!

<script type="module">
  import catboxCouchbase from 'https://cdn.skypack.dev/catbox-couchbase';
</script>

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.