corrin

1.1.2 • Public • Published

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
}

Readme

Keywords

Package Sidebar

Install

npm i corrin

Weekly Downloads

1

Version

1.1.2

License

MIT

Unpacked Size

1.99 kB

Total Files

3

Last publish

Collaborators

  • bakapear