UNPKG

node-html-parser

Version:

A very fast HTML parser, generating a simplified DOM, with basic element query support.

7 lines (6 loc) 205 B
import { Options } from './nodes/html'; /** * Parses HTML and returns a root element * Parse a chuck of HTML source. */ export default function valid(data: string, options?: Partial<Options>): boolean;