Noodles Practicing Medicine
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

couchbase-admin

0.3.1 • Public • Published

Couchbase Admin

Couchbase cluster administrator is both a CLI and API for doing administrative tasks on Couchbase clusters.

The primary reason this project was born was the need to compare design documents between two clusters and upgrade a destination cluster. It evolved and the main features now are

  • Export/import design documents into/from a file.
  • Compare and apply differences to design documents between clusters/buckets or files.
  • Create/upgrade/remove views from design documents.
  • Copy/move documents between cluster/buckets.
  • Check document keys that (do or do not) match a set of prefixes.

The project includes an API as well as a CLI. It aims to provide an easy way to perform certain tasks usually required when deploying or upgrading a Couchbase database.

Installation

Installing the tool on your system

$ npm install -g couchbase-admin

Installing the module to use on your own project

$ npm install couchbase-admin --save

CLI

See the CLI reference.

API

See the API reference. Most API methods will return Promises using Bluebird implementation, please check the link for more information.

License

MIT

install

npm i couchbase-admin

Downloadsweekly downloads

5

version

0.3.1

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability