2.0.2 • Published 8 years ago

newznab-feedparser v2.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

newznab-feedparser

Parses newznab rss feeds into a json object with a nzbs property that is an array of objects representing each nzb in the feed. Each parse function returns a promise resolving to the feed object.

Installation

npm install newznab-feedparser --save

Usage

// parse feed from url
parse.fromFeed('http://samplefeedurl.com/feed').then(function (feed) {
  console.log(feed);
});
// parse feed from file
parse.fromFile().then(function (feed) {
  console.log(feed);
});
// parse feed from string

// assuming xml is a string of xml
parse.fromString(xml).then(function (feed) {
  console.log(feed);
});
2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.0

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago