Nutritious Pomegranate Muffins

    x-element

    1.0.0 • Public • Published

    Element

    Element is a JavaScript library providing a convenient way to create DOM elements.

    Examples

    var element = require('x-element');
     
    var myList = element('ul', {className: 'list'}, [
        element('li', {textContent: '1'}),
        element('li', {textContent: '2'})
    ]);
    document.body.appendChild(myList);

    Installation

    npm install --save x-element

    Install

    npm i x-element

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • lexarx