@ultirequiem/kumeru
v0.1.2
Published
Low-level HyperScript-like Frontend Library
Downloads
6
Readme
Kumeru
A low-level and HyperScript-like Frontend Library 🚀
There is still a lot to do, but you can use it already! Check Pages using Kumeru on Production!
Usage
Deno 🦕
import {
createElement,
render,
wrapElements,
} from "https://deno.land/x/kumeru/mod.ts";
const app = wrapElements(
createElement("h1", "Kumeru"),
createElement("a", "Documentation", {
attributes: {
href: "https://kumeru.js.org",
target: "_blank",
},
}),
);
render(document.getElementById("root"), app);
Node.js 🐢
import { createElement, render } from "kumeru";
render(document.getElementById("root"), createElement("p", "Hello World"));
Browser
Using type module 🍱
Using a plain script tag 👇
You have the same API on all of this platforms.
Docs
For examples you can check examples/
📂
Support
Open an Issue, I will check it a soon as possible 👀
If you want to hurry me up a bit send me a tweet 😆
Consider supporting me on Patreon if you like my work 🚀
Don't forget to start the repo ⭐
Pages Using Kumeru on Production
Are you using Kumeru on your page? Make a pull request adding your page here!
- Sergif - (Kumeru + Tailwind CSS + Netlify Functions)
Licence
Licensed under the MIT Licence.