parse5
HTML parser and serializer.
serialize-javascript
Serialize JavaScript to a superset of JSON that includes regular expressions and functions.
smart-buffer
smart-buffer is a Buffer wrapper that adds automatic read & write offset tracking, string operations, data insertions, and more.