1.1.2 • Published 5 years ago

corrin v1.1.2

Weekly downloads
7
License
MIT
Repository
github
Last release
5 years ago

corrin

It's her feet.

RSS Feed but with JSON arrays instead.

let Corrin = require("corrin")

let feed = new Corrin([fn, x => x.id])
/*
*let feed = new Corrin([
*    [fn1, x => x.id],
*    [() => fn2('test'), x => x.node.id]
*], 120000)
*/

feed.on('new', items => {
    console.log(items)
    feed.close()
})

async function fn() {
    // ...
    return array
}
1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago