htmlparser-generator
v0.0.2
Published
htmlparser2 to html generator
Downloads
3
Readme
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