Skip to content

katabatic-js/katabatic

Repository files navigation

Katabatic

A simple and efficient way to develop Web Components !

Katabatic is a compiler that transforms HTML modules into JavaScript. Its goal is to provide a modern, framework-free web development experience by relying solely on standard APIs.

  • ✨ No API ! Write plain HTML, CSS and JS without having to learn yet an other framework.
  • ❤️ Web Components without the complexity
  • ⚡ Reactive with signals
<script type="module">
    export class Counter extends HTMLElement {
        count = 0
    }

    customElements.define('my-counter', Counter);
</script>

<template>
    <div>
        <button onclick="{count++}">counter is {count}</button>
    </div>
    <style>
        button {
            padding: 0.5rem;
            text-transform: uppercase;
        }
    </style>
</template>

Getting started

npm i katabatic -D
npm i @katabatic/runtime

npx katabatic

See the examples

About

Drop is a compiler which turns html modules into JS

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published