Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 836 Bytes

README.md

File metadata and controls

53 lines (36 loc) · 836 Bytes

Feeder

Programmable RSS/Atom feed event listeners.

Example

See a full example in example.ts.

const kv = await Deno.openKv();
const feeder = new DenoFeeder(kv);
await feeder.cron(
  "https://fart.tools/feed.xml",
  "FartLabs Blog",
  "0 * * * *", // https://crontab.guru/#0_*_*_*_*
  (entries) => {
    console.dir(entries, { depth: Infinity });
  },
);

Development

Make sure to install Deno: https://deno.land/manual/getting_started/installation.

Run the example to manually test the project:

deno task example

Format the project:

deno fmt

Check for common errors:

deno lint

Dependencies

See every dependency in deno.json.


Developed with 🧪 @FartLabs