0.1.2 ā€¢ Published 2 years ago

@ultirequiem/kumeru v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Kumeru

CI codecov deno doc

Custom badge Custom badge Custom badge

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.