@dobeerman/feedparser

0.0.1 • Public • Published

feedparser

RSS and Atom parser

Installation

$ npm install dobeerman/feedparser

or using yarn:

$ yarn add dobeerman/feedparser

Usage

const feed = new FeedParser(urls, {
  flatten: true, // to be flatten instead of Array of Arrays
  sort: { key: 'title', order: 'asc' }
})

feed
  .parse() // Just call parse()
  .then((result) => result.map((el) => console.log(el.title)))
  .catch((e) => console.log(e))

Check the example to get more info.

Readme

Keywords

none

Package Sidebar

Install

npm i @dobeerman/feedparser

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

14.3 kB

Total Files

7

Last publish

Collaborators

  • dobeerman