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

    level-batcherpublic

    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

    Keywords

    none

    install

    npm i level-batcher

    Downloadslast 7 days

    4

    version

    0.0.3

    license

    none

    last publish

    collaborators

    • avatar
    • avatar