
Feedsmith is a modern, high-performance JavaScript library designed for parsing and generating a variety of feed formats, including RSS, Atom, JSON Feed, RDF, and OPML. It supports numerous popular namespaces such as Podcast, iTunes, Dublin Core, Media RSS, and GeoRSS, making it suitable for a wide range of applications, from podcasting to content syndication.
The library offers a universal parseFeed
function that automatically detects and parses the feed format, returning a structured, object-oriented representation of the feed. Feedsmith emphasizes performance and type safety, providing TypeScript definitions for each feed format and achieving 99% code coverage through an extensive test suite. Its design ensures compatibility with both Node.js and modern browsers, and its tree-shakable architecture allows developers to include only the necessary components, optimizing bundle size.
The latest release, version 1.9.0, introduced support for the GeoRSS namespace, implemented the Atom Threading namespace, and added missing namespace types to Atom, RSS, and RDF feeds. Additionally, it removed iTunes support from RDF feeds to align with current standards.