0.5.0 • Published 5 years ago

zen-html v0.5.0

Weekly downloads
-
License
ISC
Repository
github
Last release
5 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

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago