Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 556 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 556 Bytes

Node Feed Parser

Parse RSS/RDF/Atom XML into JSON Feed in node.js 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/node-feed-parser
import { NodeFeedParser } from "@osmoscraft/node-feed-parser";

const input = "<?xml..." // feed content in XML string

const feedParser = new NodeFeedParser();
const output = feedParser.toJsonFeed(input);