Skip to content

ousiri/htmlparser-generator

Repository files navigation

htmlparser-generator

Highly inspired by htmlparser-to-html.

Usage

const htmlparser2 = require('htmlparser2')
const { generator } = require('htmlparser-generator')

console.log(
  generator(htmlparser2.parseDOM('<h1>test</h1>'))
)

Output:

<h1>test</h1>

options

disableAttrEscape dumpEmptyAttri beforeEach

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published