2.0.5 • Published 9 years ago

parse-element v2.0.5

Weekly downloads
2
License
ISC
Repository
github
Last release
9 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

9 years ago

2.0.4

9 years ago

2.0.3

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago