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

rss2md

v1.0.7

Published

RSS to Markdown converter using Puppeteer

Readme

RSS to Markdown Converter 🥔

A script that converts RSS feeds to markdown files. Like a potato peeler, but for web content!

Features

  • 📰 Reads RSS feeds
  • 🔄 Tracks processed URLs (so you don't process the same potato twice)
  • 📝 Converts articles to markdown
  • 📅 Saves metadata (title, link, publication date)
  • ⏭️ Skips existing files (no duplicate potatoes in your basket)
  • 💾 Saves list of processed URLs to JSON file

Quick Start

You can run the tool directly using npx without installation:

# With default parameters (like a plain baked potato)
npx rss2md

# With custom output directory (like storing potatoes in a different basket)
npx rss2md -o ./potato

# With custom processed URLs file (like a special potato tracking list)
npx rss2md -p potatoes-processed.json

# With custom RSS feed (like getting potatoes from a different farm)
npx rss2md -r "https://example.com/feed.xml"

# With all parameters specified (like a fully loaded potato with all the toppings)
npx rss2md -r "https://example.com/feed.xml" -o "./articles" -p "processed.json" -t 7000 -w 3000

Installation (Optional)

If you want to install it globally:

npm install -g rss2md

Then you can run it simply as:

rss2md

Configuration

Create a .env file with the following variables:

RSS_URL=https://rss.app/feeds/tLshmCgUHAELkyBR.xml
OUTPUT_DIR=./output

Optional Parameters

  • -r, --rss-url - RSS feed URL (default: from .env or https://rss.app/feeds/tsgLFEhPmMEsHjE0.xml)
  • -o, --output-dir - output directory for markdown files (default: from .env or ./output)
  • -p, --processed-file - file to store list of processed URLs (default: processed_urls.json)
  • -t, --timeout - navigation timeout in milliseconds (default: 7000)
  • -w, --wait-time - wait time after page load in milliseconds (default: 3000)

Dependencies

  • rss-parser - for parsing RSS feeds
  • puppeteer - for web scraping
  • turndown - for HTML to Markdown conversion
  • yargs - for command line argument parsing
  • dotenv - for environment variable management

Why Potatoes? 🥔

Because like potatoes, this script:

  • Is versatile (works with any RSS feed)
  • Is reliable (won't let you down)
  • Keeps things organized (like a well-stocked potato cellar)
  • Gets the job done (just like a good potato peeler)

License

ISC - Because sharing is caring, just like sharing a bag of potatoes with your neighbor!