1.1.2 • Published 5 years ago
corrin v1.1.2
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
}