dombie

simple dom for xml/html

renamed to htmltree
Last updated 8 years ago by shtylman .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install dombie 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.1                                ...           latest (8 years ago)

2 Versions

  • 0.0.1 [deprecated]           ...           8 years ago
  • 0.0.0 [deprecated]           ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dependencies (1)
  • sax git://github.com/shtylman/sax-js.git#23bad4
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |