array-trickle

1.0.0 • Public • Published

trickle

Build Status

You: My array is too big! I want to unveil it a bit at a time.

Me: At what rate?

You: 50 rows / 1000 ms.

Me:

import trickle from 'array-trickle'

trickle({
  rows: 50,
  ms: 1000,
  onData: newRows => console.log(newRows),
})

Package Sidebar

Install

npm i array-trickle

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

1.75 kB

Total Files

3

Last publish

Collaborators

  • reergymerej