@osmoscraft/web-feed-parser
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

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);

Readme

Keywords

none

Package Sidebar

Install

npm i @osmoscraft/web-feed-parser

Weekly Downloads

12

Version

0.0.5

License

MIT

Unpacked Size

36.4 kB

Total Files

12

Last publish

Collaborators

  • chuanqisun