dombie

renamed to htmltree

simple dom for xml/html

npm install dombie
6 downloads in the last month

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