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) {
[
{
tag: 'html',
children: [
{
tag: body,
attributes: {
onclick: 'foo'
}
},
...
]
}
]
});
Package Sidebar
Install
Weekly Downloads