0.5.0 • Published 6 years ago

zen-html v0.5.0

Weekly downloads
-
License
ISC
Repository
github
Last release
6 years ago

An enlightened html template library to create custom web elements.

License: ISC


Example

import { zen, render } from './zen-html.js';
const zenTemplate = zen`<h1 class="zen-element">Hi!</div>`;
render(zenTemplate, document.querySelector('#root'));

Features

  • Zero dependencies
  • Really small, <4kB bundled/minified
  • Uses native and shadow DOM, no virtual DOM

Installation

// NodeJS
$ npm install zen-html
// ES6
import { zen, render } from './path/to/zen-html.js';

Compatibility

Works in at least Chrome 72.

0.5.0

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago