dom-create

0.1.1 • Public • Published

dom-create

Description

Quickly create DOM elements.

Usage

var domCreate = require('dom-create');
 
var img = domCreate('img', {
    src: 'some/path.png',
    width: '200',
    height: '200',
    alt: 'some text'
});

Author

License

MIT

/dom-create/

    Package Sidebar

    Install

    npm i dom-create

    Weekly Downloads

    2

    Version

    0.1.1

    License

    none

    Last publish

    Collaborators

    • ralt