# lighterjs

> A light weight and class based vanilla JS UI framework, with Component, Router, and State handling.

Latest version **1.1.0** (published 2023-04-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install lighterjs
pnpm add lighterjs
yarn add lighterjs
bun add lighterjs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2023-04-21 |
| First published | 2023-03-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 66.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | JarSeal |
| Maintainers | jarseal |
| Keywords | UI, Framework, Vanilla, Class, Light, Component, Router, State |

## Links

- npm: https://www.npmjs.com/package/lighterjs
- Repository: https://github.com/JarSeal/lighterjs
- Homepage: https://github.com/JarSeal/lighterjs#readme
- Issues: https://github.com/JarSeal/lighterjs/issues
- npm.io page: https://npm.io/package/lighterjs

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@mesalvo/react-ui](https://npm.io/package/@mesalvo/react-ui.md) — 1.7K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2023-04-21
- 1.0.4 — 2023-04-05
- 1.0.3 — 2023-04-05
- 1.0.2 — 2023-04-05
- 1.0.1 — 2023-03-29
- 1.0.0 — 2023-03-29

## README

# Lighter JS

A light weight and class based vanilla JS UI framework, with Component, Router, and State handling.

## Install

```
yarn add lighterjs -d
```

## Component example

```html
...
<body>
  <div id="root"></div>
</body>
...
```

```javascript
import { Component } from 'lighterjs';

const appRoot = new Component({ attachId: 'root', text: 'Hello world!" });
appRoot.draw();
// Renders the text "Hello world!" on the page.
```

---
_Source: https://npm.io/package/lighterjs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
