npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kloudsoftware/eisen

v3.0.4

Published

Declarative and expressive TypeScript framework for building modern web applications

Readme

eisen

declarative and expressive TypeScript framework for building modern web applications.

What is eisen?

eisen [ˈaizən] is a dependency‑free frontend framework written entirely in TypeScript. It ships with type definitions, a lean ~1200 LoC core and first class support for routing and internationalization. Features include:

  • Virtual DOM with a diffing renderer
  • Component model with lifecycle hooks
  • Reactive state via the reactive decorator
  • Two‑way data binding using Props
  • Built‑in router and i18n helpers

Why use eisen?

  • Written in TypeScript – excellent editor integration and type safety
  • Dependency free – the full source is easy to understand and extend
  • Lightweight – focuses on essentials without sacrificing features

Installing

Install the package from npm:

npm install @kloudsoftware/eisen

Using eisen

Hello world

index.ts

import { VApp, Renderer } from '@kloudsoftware/eisen';

const renderer = new Renderer();
const app = new VApp('target', renderer);
app.init();

app.createElement('h1', 'Hello world!', app.rootNode);

index.html

<body>
  <div id="target"></div>
  <script type="module" src="./index.ts"></script>
  or
  <script type="module" src="./index.tsx"></script>
</body>

Components

To encapsulate and reuse logic, extend Component and implement render and lifeCycle:

import {Component, Props, reactive, VNode} from '@kloudsoftware/eisen';

export class Counter extends Component {
    @reactive() count = 0;

    render(props: Props): VNode {
        //tsx version
        return <div>
            <button onclick={() => {
                this.count++;
            }}>
                Click me
            </button>
            <strong e-if={() => this.count > 0}>Count: {this.count}</strong>
        </div>;
    }

    lifeCycle() {
        return {
            mounted: () => console.log('mounted'),
            unmounted: () => console.log('unmounted'),
        };
    }
}

Mount the component:

import { VApp, Renderer, Props } from '@kloudsoftware/eisen';

const renderer = new Renderer();
const app = new VApp('target', renderer);
app.init();
app.mountComponent(new Counter(app), app.rootNode, new Props(app));

Props and two‑way binding

Props provide a simple way to pass data and react to changes.

const props = new Props(app);
props.setProp('name', 'World');

const heading = app.k('h1', { value: 'Hello {{ name }}!' }, undefined, undefined, props);
props.registerCallback('name', val => console.log('name changed to', val));

Input binding and validation

import { VInputNode } from '@kloudsoftware/eisen';
const user = { name: '' };
const input = app.k('input') as VInputNode;
input.bindObj(user, 'name');
input.validate(() => user.name.length > 3, 'error');
app.rootNode.appendChild(input);

Router & i18n

const router = app.useRouter(app.rootNode);
// register your routes ...

app.useTranslationResolver(key => translations[key]);

Build

Use microbundle to compile the source:

npm run build

Maintainers

Eisen is written and maintained by kloudsoftware.