Skip to content
Turn HTML into DOM elements x-browser.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples return element or fragment Mar 27, 2013
test
.gitignore
LICENSE initial mess Mar 27, 2013
README.md update README Mar 27, 2013
index.js do not clone text nodes Jul 10, 2013
package.json

README.md

element

dependency status

browser support

Turn HTML into DOM elements x-browser.

var element = require("element")

element("<p>Hello</p><p>World</p>")
// => Hello World (as document fragment)

element("<p>Hello World</p>")
// => Hello World (as element)

Installation

npm install element

Contributors

  • TJ Holowaychuk
  • Shyltman
  • Raynos

MIT Licensed

You can’t perform that action at this time.