couchdb-batch

1.0.0 • Public • Published

couchdb-bulk

Batches a stream of single documents into bulk docs jsons.

BuildStatus

Installation

npm install -g couchdb-bulk

API Usage

var bulk = require('couchdb-bulk')
 
process.stdin
  .pipe(bulk({ batchSize: 3, batchTime: 100 }))
  .pipe(process.stdout)

CLI Usage

couchdb-bulk docs.jsonl

Tests

npm test

Readme

Keywords

none

Package Sidebar

Install

npm i couchdb-batch

Weekly Downloads

1

Version

1.0.0

License

Apache-2.0

Unpacked Size

2.42 kB

Total Files

4

Last publish

Collaborators

  • jo