level-batcher
stream designed for leveldb that you write objects to, and it emits batches of objects that are under a byte size limit
Last updated 7 years ago by maxogden .
BSD · Original npm · Tarball · package.json
$ cnpm install level-batcher 
SYNC missed versions from official npm registry.

level-batcher

through/pull stream that you write objects to, and it emits batches of objects that are under a byte size limit

NPM

usage

var batcher = require('level-batcher')

returns a stream. for usage see test.js

batcher.next()

call this to get the next batch. this is due to the semantics of inserting data into leveldb so that backpressure is respected. TODO use pause/resume for this

license

BSD

Current Tags

  • 0.0.3                                ...           latest (7 years ago)

3 Versions

  • 0.0.3                                ...           7 years ago
  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           7 years ago
Maintainers (2)
Downloads
Today 0
This Week 1
This Month 2
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |