0.1.2 ā¢ Published 2 years ago
@ultirequiem/kumeru v0.1.2
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
Autogenerated Documentation š
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.