kix weekly downloads statistics
By Generalsimus (2 listings) · npm · Webpack plugins
A small JSX library for building web interfaces, with no virtual DOM and no re-renders.
kix has 965 recorded weekly downloads on npm, an increase of 474% over the past 30 days, ranking #2082 of 3,247 tracked listings.
About kix
What is KIX?
KIX renders JSX straight to real DOM nodes. A component runs once. It is never called again.
Updates happen because the KIX compiler rewrites your code at build time. When you put a variable or an object property inside JSX, KIX watches it. If the value changes, KIX updates only the DOM node that uses it.
import kix from "kix";
let count = 0;
setInterval(() => {
count++; // this updates the <h1>. No setState, no hooks.
}, 1000);
kix(document.body, <h1>Count: {count}</h1>);
- No re-renders. Components run once and only the affected nodes change.
- Plain variables are state. You change a
letor an object property, and the view follows. - Props update too. Props update in place without calling the component again.
- Fast. Values that can never change cost nothing, static JSX is built once, and lists keep the DOM of every item that is still there.
- Any bundler. One plugin for Vite, Rollup, webpack, Rspack and esbuild.
- JavaScript and TypeScript (5, 6 and 7), with typings included.
- Built-in routing with
<route-link>,<route-switch>and<route-block>. - Custom elements and attributes with
createElementandcreateAttribute.
Quick start
You need Node.js 20.19 or newer.
npm i -g kix # install the CLI
kix new app-name # create a project (pick JS/TS and Vite/Webpack)
cd app-name
kix start # dev server with live reload
kix build # production build
CLI
| Command | Description |
|---|---|
kix new [name] | Create a new KIX project. Asks for anything not given. |
kix start | Start the dev server. |
kix build | Build the app for production. |
kix <script> | Run any npm script of the project (npm run <script>). |
Options:
kix new:--ts/--jsfor the language,--vite/--webpackfor the bundler, and--no-installto skipnpm install.--port <number>sets the dev server port (default2206).--outDir <path>sets the output folder (defaultdist).
The webpack template needs Node.js 22.15 or newer.
Setup in an existing project
Add the KIX plugin to your bundler. That's all: no TypeScript loader and no JSX settings are
needed. For type-checking, use "jsx": "preserve" in tsconfig.json.
npm i kix
Vite
// vite.config.js
import { defineConfig } from "vite";
import kix from "kix/vite";
export default defineConfig({
plugins: [kix()],
});
webpack (or Rspack with kix/rspack)
// webpack.config.js
const { kix } = require("kix/webpack");
module.exports = {
resolve: { extensions: [".tsx", ".ts", ".jsx", ".js"] },
plugins: [kix()],
};
Rollup
import kix from "kix/rollup";
export default { input: "src/index.tsx", plugins: [kix() /* + @rollup/plugin-node-resolve */] };
esbuild
import * as esbuild from "esbuild";
import kix from "kix/esbuild";
await esbuild.build({ entryPoints: ["src/index.tsx"], bundle: true, plugins: [kix()] });
Anything else: use the compiler directly.
import { transform } from "kix/compiler";
const result = transform(code, "file.tsx"); // { code, map } or null when there is no JSX
Plugin options
| Option | Default | Description |
|---|---|---|
include | .jsx and .tsx files | RegExp or function: files to compile. |
exclude | node_modules | RegExp or function: files to skip. |
svg | false | import Logo from "./logo.svg" gives a KIX component. |
stripTypes | on for webpack, Rspack, Rollup | Remove TypeScript types after compiling (.ts files too), so no other TS loader is needed. |
hoist | true | Build static JSX once, at module level. |
runtime | "kix" | Module the compiled code imports from. |
Usage
Mounting
import kix from "kix";
kix(document.body, <div>Hello KIX</div>);
kix(parent, jsx) creates the DOM nodes, adds them to parent and returns them.
Components
Components can be functions or classes. Both run only once.
import kix from "kix";
function DateNow() {
const date = new Date();
return <span>Date: {date}</span>;
}
class DateNowClass {
date = new Date();
render() {
return <h4>Date: {this.date}</h4>;
}
}
kix(document.body, <>
<DateNow />
<DateNowClass />
</>);
Props
Props are live. When the value passed in changes, the component's output updates.
import kix, { Component } from "kix";
interface Props {
index: number;
}
function ShowIndex(props: Props) {
return <h1>INDEX: {props.index}</h1>;
}…
Description from the npm listing.
- kix
- jsx
- tsx
- dom
- reactive
- no-virtual-dom
- ui
- vite-plugin
- webpack-plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (121)Similar npm Webpack plugins plugins
All 20 kix alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/kix. First seen Nov 29, 2026; last successful collection Dec 6, 2026. See the methodology.