dom-format

```bash npm i -s dom-format # or yarn add dom-format ```

Usage no npm install needed!

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

README

dom-format

npm i -s dom-format
# or
yarn add dom-format
import domFormat from "dom-format";

const domString = `<div><img /><img /><img /></div>`;

domFormat(domString, "img");