parse5

parse5

HTML parser and serializer.

npm install --save parse5

📖 Documentation 📖

## Usage Parse HTML into a document tree and serialize it back to HTML. ```js import { parse, serialize } from 'parse5'; const document = parse('

Hello, world!

'); console.log(serialize(document)); //

Hello, world!

``` ---

List of parse5 toolset packages

GitHub

Online playground

Changelog