UNPKG

html-tokenizer

Version:

Small, fast, event-driven, fault-tolerant html tokenizer. Works in node or browsers.

11 lines 414 B
/** * Determine whether a tag is a self-closing tag. */ export declare function isSelfClosing(tag: string): boolean; /** * Determine whether a tag is closed by another tag */ export declare function isClosedBy(tag: string, otherTag: string): boolean; /** Determine whether a tag is auto-closed by its parent. */ export declare function isClosedByParent(tag: string): boolean; //# sourceMappingURL=util.d.ts.map