dombiedeprecated

simple dom for xml/html

Usage no npm install needed!

<script type="module">
  import dombie from 'https://cdn.skypack.dev/dombie';
</script>

README

domebie

Sometimes you don't want anything fancy.

var dombie = require('dombie');

dombie('<html><body onclick=foo></body></html>', function(err, dom) {
    // dom
    [
        {
            tag: 'html',
            children: [
                {
                    tag: body,
                    attributes: {
                        onclick: 'foo'
                    }
                },
                ...
            ]
        }
    ]
});