An efficient, compact HTML5 parser with blistering speed.
This is a fork of acrazing/html5parser with performance improvements and modernized tooling. All credit goes to @acrazing for creating the original lib!
TODO: Write me...
TIP: If using bun
or esbuild
as your bundler, import from src
directly to get optimal output code (due to TypeScript const enum
inlining).
import { parse, walk } from '@maxmilton/html-parser/src';
TODO: Write me...
Report any bugs you encounter on the GitHub issue tracker.
MIT license. See LICENSE.
© 2024 Max Milton