2.0.5 • Published 7 years ago

parse-element v2.0.5

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

parse-element

Build Status js-standard-style npm version Coverage Status

Fast html parser for dom-elements - works with html-element & in the browser (where it uses outerHTML)

  • Around 30x faster then element.outerHTML from html-element
  • Does not parse fields on elements set without setAttribute
const parseElement = require('parse-element')
const div = global.document.createElement('div')
div.appendchild(global.document.createTextNode('text!'))
console.log(parseElement(div)) //<div>text!</div>
2.0.5

7 years ago

2.0.4

8 years ago

2.0.3

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago