@immerspiele/dimmer
v2.0.0
Published
Small, lightweight library for creating DOM elements in pure JavaScript.
Readme
Dimmer is a small, lightweight library for creating DOM elements in pure JavaScript. It’s designed to be fast, convenient, and dependency-free, making it easy to build and manipulate HTML without bulky frameworks.
Installation
# Using npm
npm install @immerspiele/dimmer
# Using yarn
yarn add @immerspiele/dimmerQuick Start
import { div, h2, p, appendChildren } from '@immerspiele/dimmer';
const $container = div('container', [
h2('title', 'Welcome to Dimmer'),
p(null, 'This is a simple example of using Dimmer to create DOM elements.'),
]);
appendChildren(document.body, $container);