New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rivu

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rivu

A modern and type-safe RSS generator for Node.js.

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
3
50%
Maintainers
1
Weekly downloads
 
Created
Source

Rivu - Type-Safe RSS 2.0 Feed Generator

Rivu is a modern TypeScript library for generating RSS 2.0 feeds programmatically. It enforces strict type safety, validates required channel metadata and produces a fully compliant RSS feed as an XML document.

Features

Rivu provides the following functionalities:

  • 100% RSS 2.0 compliant output.
  • Lightweight and fast (based on Node.js).
  • Fully type-safe using TypeScript interfaces.
  • Strict validation for required RSS channel fields.
  • Custom feed items with rich optional metadata.
  • Small footprint and works in Node.js and other JavaScript runtimes.

Install Rivu right now using the following commands:

pnpm i rivu

Quick Usage

You can quickly generate a RSS 2.0 output with the following lines of code:

import { Feed } from "rivu";

const feed = new Feed({
  title: "Somraj's Blog",
  link: "https://jarmos.dev/rss.xml",
  description:
    "The personal blog (and digital garden) maintained by Somraj Saha (aka Jarmos).",
  language: "en-US",
  items: [
    {
      title: "Example Blog",
      description: "Lorem Ipsum",
      pubDate: new Date("2025-10-10"),
    },
  ],
});

feed.generate();

This should print a full RSS 2.0 feed as a string like this:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    ...
  </channel>
</rss>

For more information with regards to the API reference, a more detailed usage guide and the contribution guidelines, check out the official documentation.

Licensing and Distribution Rights

The package is built using open-source tools and the source code of the package itself is also provided publicly accessible under an open-source license. Therefore, you are free to copy, modify and/or distribute the package under the T&Cs of the MIT license. For more information about the distribution rights in the LICENSE document.

Keywords

rss

FAQs

Package last updated on 01 Feb 2026

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