couchbase-bucket-creator

Utility for creating couchbase buckets

Usage no npm install needed!

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

README

couchbase-bucket-creator

Utility for creating sets of couchbase buckets

bin/couchbase-bucket-creator --cluster couchbase://administrator:password@localhost --buckets ./buckets.json

where buckets.json is an array of bucket arguments

[
  {
     "name": "default",
     "authType": "sasl",
     "bucketType": "couchbase",
     "ramQuotaMB": 512,
     "replicaNumber": 0
   }
]