Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

newznab-feedparser

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

newznab-feedparser

Parses newznab rss feeds into an array of objects

  • 2.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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);
});

Keywords

FAQs

Package last updated on 31 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc