This package has been deprecated

Author message:

renamed to htmltree

dombie

0.0.1 • Public • Published

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'
                    }
                },
                ...
            ]
        }
    ]
});

Readme

Keywords

Package Sidebar

Install

npm i dombie

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • defunctzombie