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

rss-feed-emitter

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rss-feed-emitter

Super RSS News Feed aggregator written in Node.js and ES6

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
413
increased by18%
Maintainers
1
Weekly downloads
 
Created
Source

RSS Feed Emitter

Track tons of feeds and receive events for every new item published with this super RSS News Feed aggregator.

Features

  • Supports Node.js 0.10.x, 0.12.x, 4.x, 5.x, and @stable
  • 100% code coverage with unit and integration tests
  • Simple interface
  • Automatically manages feed history memory
  • Written in ES6

Usage

Install

$ npm install rss-feed-emitter

Creating an instance

let RssFeedEmitter = require('rss-feed-emitter');
let feeder = new RssFeedEmitter();

Adding feeds

feeder.add({
  url: 'http://www.nintendolife.com/feeds/news',
  refresh: 2000
});

Default refresh value is 60 seconds

Listening to new items

feeder.on('new-item', function(item) {
  console.log(item);
})

Listing all feeds in the instance

feeder.list();

Removing a single feed

feeder.remove('http://www.nintendolife.com/feeds/news');

Destroying feed instance

feeder.destroy();

This will remove all feeds from the instance

Keywords

FAQs

Package last updated on 14 Feb 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