lighterjs

1.1.0 • Public • Published

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

...
<body>
  <div id="root"></div>
</body>
...
import { Component } from 'lighterjs';

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

Package Sidebar

Install

npm i lighterjs

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

68.4 kB

Total Files

22

Last publish

Collaborators

  • jarseal