2.0.2 • Published 11 years ago

unpack-html v2.0.2

Weekly downloads
13
License
-
Repository
github
Last release
11 years ago

unpack-html

Unpack html source into elements

Example

var html = require("unpack-html")
    , source = "<div>hello <span id='thing'>world</span></div>"

var elements = html(source)

elements.root; // that div
elements.thing; // that span

Installation

npm install unpack-html

Contributors

  • Raynos

MIT Licenced

2.0.2

11 years ago

2.0.1

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago

0.2.0

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago