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.

3 lines (2 loc) 137 B
import { TokenizerOptions, Token } from './types'; export default function tokenize(input: string, options?: TokenizerOptions): Token[];