Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
html -> elements
JavaScript Makefile
branch: master

Readme.md

domify

Turn HTML into DOM elements x-browser.

Usage

var domify = require('domify')

document.addEventListener('DOMContentLoaded', function() {
  var el = domify('<p>Hello <em>there</em></p>')
  document.body.appendChild(el)
})

Running tests

$ npm i -g component-test
$ make
$ component-test browser

License

MIT

Something went wrong with that request. Please try again.