htmlparser-generator
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i htmlparser-generator

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

18.9 kB

Total Files

25

Last publish

Collaborators

  • ousiri