Skip to main content

Interface: IParserOptions

Hierarchy​

Properties​

fetch​

• Optional fetch: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>

Type declaration​

â–¸ (input, init?): Promise<Response>

WHATWG-compatible fetch function.

Parameters​
NameType
inputRequestInfo | URL
init?RequestInit
Returns​

Promise<Response>

Defined in​

src/Parser.ts:10


DOMParser​

• Optional DOMParser: () => DOMParser

Type declaration​

• new DOMParser(): DOMParser

XML/HTML parser from string into DOM Document.

Returns​

DOMParser

Defined in​

src/Parser.ts:14