Namespace, Primitive, Method

    element

    0.1.4 • Public • Published

    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

    Keywords

    none

    Install

    npm i element

    DownloadsWeekly Downloads

    445

    Version

    0.1.4

    License

    none

    Last publish

    Collaborators

    • raynos