Transform arrays of objects into arrays with a maximum length
$ npm install pull-batch --saveconst pullBatch = require('pull-batch')
const maxLength = 5
pull(
pull.values([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])
pullBatch(maxLength),
sink
)ISC
Transform arrays of objects into arrays with a maximum length
Homepage Repository npm JavaScript Download
npm install pull-batch@1.0.0