An HTML-like template literal tag.
npm install htmltag
A template tag function that returns TemplateResult
objects.
import { html } from 'htmltag';
const planet = 'Earth';
const templateResult = html`<div>Hello ${planet}</div>`;
console.log(templateResult);
TemplateResult
objects contain both the static and dynamic parts of a template.
A tree representing the result of parsing the template.
An array of values supplied to the template literal instance.