pull-batch
Transform arrays of objects into arrays with a maximum length
Last updated 9 years ago by pgte .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pull-batch 
SYNC missed versions from official npm registry.

pull-batch

Transform arrays of objects into arrays with a maximum length

Install

$ npm install pull-batch --save

Use

const pullBatch = require('pull-batch')

const maxLength = 5

pull(
  pull.values([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])
  pullBatch(maxLength),
  sink
)

License

ISC

Current Tags

  • 1.0.0                                ...           latest (9 years ago)

1 Versions

  • 1.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (4)

Copyright 2013 - present © cnpmjs.org | Home |