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

feedscout

v2.2.1

Published

Advanced feed autodiscovery for JavaScript. Collect feed information from any webpage using multiple discovery methods.

Readme

Feedscout

codecov npm version license

Advanced feed autodiscovery for JavaScript. Collect feed information from any webpage using multiple discovery methods.

Finds feeds by scanning links and anchors in HTML content, parsing HTTP headers, and guessing common paths, then validates each URL by fetching and parsing the feed.

Read full docs ↗   ·   Quick Start


Features

Supported Content

| Type | Description | | --- | --- | | Feeds | RSS, Atom, JSON Feed, and RDF. Each feed is validated and returns metadata like format, title, description, and site URL. | | Blogrolls | OPML files containing feed subscriptions. Each blogroll is validated and returns its title. | | Favicons | Site icons from HTML, feeds, platform APIs, and common paths. Validated to ensure URLs point to actual images. | | WebSub | Hubs for real-time feed update notifications. |

Discovery Methods

| Method | Description | | --- | --- | | Platform | Generates feed URLs for YouTube, GitHub, WordPress, and 270+ other platforms using URL pattern matching. | | HTML | Scans <link> elements with feed MIME types or rel="feed", and <a> elements matching feed patterns or labels like "RSS", "Feed" or "Atom". | | Headers | Parses HTTP Link headers for rel="alternate" with feed MIME types, or rel="feed", per RFC 8288. | | Guess | Tests common paths (e.g. /feed, /rss.xml, /atom.xml) against the base URL as a fallback. |

Customization

Uses native fetch by default but supports custom adapters for Axios, Got, Ky, or any other HTTP client. Discovery methods can be individually enabled or disabled and their options adjusted. Custom extractors let you override the default parser to pull additional metadata from feeds and blogrolls.

Quick Start

For a full overview of all the features, visit the documentation.

Installation

npm install feedscout

Discover Feeds

import { discoverFeeds } from 'feedscout'

const feeds = await discoverFeeds('https://example.com')

// [{
//   url: 'https://example.com/feed.xml',
//   isValid: true,
//   format: 'rss',
//   title: 'Example Blog',
//   description: 'A blog about examples',
//   siteUrl: 'https://example.com/',
//   method: 'html',
// }]
const feeds = await discoverFeeds('https://example.com', {
  methods: ['html', 'headers'],
})

Or with existing HTML content:

<html>
  <head>
    <link rel="alternate" type="application/rss+xml" href="/feed.xml" />
  </head>
  <body>
    <a href="/rss">RSS Feed</a>
  </body>
</html>
const feeds = await discoverFeeds(
  { url: 'https://example.com', content: html },
  { methods: ['html'] },
)

// [
//   {
//     url: 'https://example.com/feed.xml',
//     isValid: true,
//     format: 'rss',
//     title: 'Example Blog',
//     description: 'A blog about examples',
//     siteUrl: 'https://example.com/',
//     method: 'html',
//   },
//   {
//     url: 'https://example.com/rss',
//     isValid: true,
//     format: 'rss',
//     title: 'Example Blog',
//     description: 'A blog about examples',
//     siteUrl: 'https://example.com/',
//     method: 'html',
//   },
// ]

Or with HTTP headers:

Link: </feed.xml>; rel="alternate"; type="application/rss+xml"
const feeds = await discoverFeeds(
  { url: 'https://example.com', headers },
  { methods: ['headers'] },
)

// [{
//   url: 'https://example.com/feed.xml',
//   isValid: true,
//   format: 'rss',
//   title: 'Example Blog',
//   description: 'A blog about examples',
//   siteUrl: 'https://example.com/',
//   method: 'headers',
// }]

Discover Blogrolls

import { discoverBlogrolls } from 'feedscout'

const blogrolls = await discoverBlogrolls('https://example.com')

// [{
//   url: 'https://example.com/blogroll.opml',
//   isValid: true,
//   title: 'My Blogroll',
//   method: 'html',
// }]

Discover Favicons

import { discoverFavicons } from 'feedscout'

const favicons = await discoverFavicons('https://example.com')

// [{
//   url: 'https://example.com/apple-touch-icon.png',
//   isValid: true,
//   method: 'html',
// }]

Discover WebSub Hubs

import { discoverHubs } from 'feedscout'

const hubs = await discoverHubs('https://example.com/feed.xml')

// [{
//   hub: 'https://pubsubhubbub.appspot.com/',
//   topic: 'https://example.com/feed.xml',
// }]