node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

dom-create

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