htmltree-stringify

htmltree-stringify ==================

Usage no npm install needed!

<script type="module">
  import htmltreeStringify from 'https://cdn.skypack.dev/htmltree-stringify';
</script>

README

htmltree-stringify

syntax tree (htmltree) -> xml/html

$ npm i --save htmltree-stringify
htmltree('<html><body onclick=foo></body></html>', function (err, doc) {
  var html = stringify(doc);
  console.log(html);
});