UNPKG

simple-html-tokenizer

Version:

Simple HTML Tokenizer is a lightweight JavaScript library that can be used to tokenize the kind of HTML normally found in templates.

7 lines (6 loc) 186 B
import { NamedEntityMap } from './types'; export default class EntityParser { private named; constructor(named: NamedEntityMap); parse(entity: string): string | undefined; }