https://github.com/darnfish/stegolo
forEach, but staggered
https://github.com/darnfish/stegolo
Last synced: 12 months ago
JSON representation
forEach, but staggered
- Host: GitHub
- URL: https://github.com/darnfish/stegolo
- Owner: darnfish
- Created: 2021-04-21T23:43:25.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-22T02:11:42.000Z (about 5 years ago)
- Last Synced: 2025-03-18T14:11:54.998Z (about 1 year ago)
- Language: JavaScript
- Size: 63.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stegolo
forEach, but staggered
## Installation
You already know bro
## Usage
```js
import Stegolo from 'stegolo'
const stegolo = new Stegolo([1, 2, 3], { limit: 2, interval: '1h' })
stegolo.many(items => {
// hour 0, items = [1, 2]
// hour 1, items = [3]
})
stegolo.start()
```
## Licence
Steal this shit I don't care