UNPKG

syndication

Version:

A library written in NodeJS for Syndicating RSS & ATOM based feeds. It is a Promise based library which extends feedparser.

13 lines (9 loc) 288 B
var FeedParserPromise = require('../lib/index.js'); var feeds = new FeedParserPromise(500); var fetchedFeeds=feeds.fetch('http://thing.live/rss'); fetchedFeeds.then((val)=>{ console.log(val); console.log("====================="); }).catch((error)=>{ console.log(error) });