A tiny, focused and performant HTML template rendering library for Node.js and the browser.
npm install @transclusion/template --save
- Tiny. 1.43 kB gzipped and minified
- Focused. The API consists of three methods,
html
,render
andthunk
. - Performant. Uses native HTML templates which are reused to perform super fast.
To learn how lit-html
and hyperHTML
works. Mostly inspired by lit-html
.
import {html, render} from '@transclusion/template'
render(html`<div>Hello, world</div>`, document.body)
MIT © Marius Lundgård