UNPKG

s-batch

Version:

A transform stream that batches items into arrays

2 lines (1 loc) 79 B
export default function sBatch<T>(batchSize: number): TransformStream<T, T[]>;