How to Build a Fast HTML Parser Using Regex and TypeScript

Elson
10 min readNov 13, 2023
Photo by Jay Zhang on Unsplash

While working on a side project, the need to parse HTML came up, and to save time, I tried the fastest HTML parsers I could find. After fighting and trying to hack them, I realized I needed a custom or super customizable one to fit all project needs. Unfortunately, I had no luck. So, I created one.

--

--

Elson

Software Engineer sharing knowledge, experience, and perspective from an employee and personal point of view.