dom-converter

converts bare objects to DOM objects or xml representations

Usage no npm install needed!

<script type="module">
  import domConverter from 'https://cdn.skypack.dev/dom-converter';
</script>

README

Converts bare objects to DOM objects, compatible with htmlparser2's DOM objects.

This is useful when you want to work with DOM without having to compose/parse html.