feed-reader
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

feed-reader

Util for parse ATOM and RSS feed resources and normalize them to JSON object.

NPM Travis Coverage Status devDependency Status Known Vulnerabilities

Installation

npm install feed-reader

Usage

import FeedReader from 'feed-reader';

let url = 'https://news.google.com/news/feeds?pz=1&cf=all&ned=us&hl=en&q=nodejs&output=rss';

FeedReader.parse(url).then((feed) => {
  console.log(feed);
}).catch((err) => {
  console.log(err);
});

Test

git clone https://github.com/ndaidong/feed-reader.git
cd feed-reader
npm install
mocha

* Ensure that you have mocha installed

Package Sidebar

Install

npm i feed-reader@1.0.0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • dongnd