npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

node-red-contrib-feedparser-plus

v1.1.1

Published

A Node-RED node to get RSS Atom feeds with persistence (redis) layer

Readme

Node-RED Feed Parser Plus

Buy me a beer

An enhanced and modernized fork of node-red-contrib-feedparser-x.

This version introduces better flexibility, improved developer experience, and persistent tracking of seen articles using Redis context storage.

Key Features

  • Persistent seen list using Redis — no flood of old articles on restart
  • Supports dynamic user-agent and timeout via node config or msg
  • Allows string or array of feed URLs via configurable input field
  • Two outputs: new articles and error stream
  • Node status displays internal activity for better visibility
  • Clean and modern internal implementation

Install

Run the following command in your Node-RED user directory (typically ~/.node-red):

npm install node-red-contrib-feedparser-plus

Enable Redis context storage by editing your settings.js:

contextStorage: {
  default: {
    module: "memory"
  },
  redis: {
    module: require("node-red-context-redis"),
    config: {
      host: "127.0.0.1",
      port: 6379,
      prefix: "nodered"
    }
  }
}

Note: node-red-context-redis is no longer published on npm. Install it directly via Git:

npm install git+https://github.com/node-red-hitachi/node-red-context-redis

You must have a running Redis server.

Usage

Input

  • msg.payload (or other field defined in feedField): The feed URL (string or array of strings)
  • msg.userAgent: (Optional) Override the configured user-agent string
  • msg.timeout: (Optional) Override the request timeout in milliseconds
  • msg.init_send: If true, send all items from the feed; if false, only new items
  • msg.keep_size: Number of latest items to keep track of (default: 30)

You can use an inject node to periodically feed URLs into this node.

Output

The node has two outputs:

  1. Article Output — emitted for each new article:

    • msg.topic: Article link
    • msg.payload: Article description
    • msg.article: Complete article object (see below)
  2. Error Output — emitted on failure:

    • msg.payload: Human-readable error message

The Article Object

Please refer to https://www.npmjs.com/package/feedparser#list-of-article-properties.

Node Status

The node provides runtime feedback via its status indicator:

  • fetching: <url> — fetching feed
  • parsing feed — parsing entries
  • <n> new articles — number of new entries emitted
  • no new articles — nothing new found
  • no URL, invalid URL, fetch error, status <code>, stream error, parse error, context error — respective failure statuses

Compatibility

  • Requires Node.js 20+
  • Compatible with Node-RED 3.x+

Contribute

Please follow CONTRIBUTING.md.

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at LICENSE.