@osmoscraft/web-feed-parser
v0.0.5
Published
Parse RSS/RDF/Atom XML into [JSON Feed](https://www.jsonfeed.org/) in a browser environment
Downloads
469
Readme
Web Feed Parser
Parse RSS/RDF/Atom XML into JSON Feed in a browser environment
Note: This library only exports TypeScript. So you will need a modern compiler to use it. Currently only supporting vite and esbuild.
Get started
npm i @osmoscraft/web-feed-parser
import { WebFeedParser } from "@osmoscraft/web-feed-parser";
const input = "<?xml..." // feed content in XML string
const feedParser = new WebFeedParser();
const output = feedParser.toJsonFeed(input);