Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/html_parser/src/mod.ts>parseFeed

Port of fb55/htmlparser2 for Deno
Latest
function parseFeed
import { parseFeed } from "https://deno.land/x/html_parser@v0.1.3/src/mod.ts";

Parse a feed.

Parameters

feed: string

The feed that should be parsed, as a string.

optional
options: ParserOptions & DomHandlerOptions = [UNSUPPORTED]

Optionally, options for parsing. When using this option, you should set xmlMode to true.

Returns

Feed | undefined