htl

by observablehq

observablehq / htl

Hypertext Literal

131 Stars 3 Forks Last release: 8 months ago (v0.1.0) ISC License 31 Commits 11 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Hypertext Literal

Hypertext literal is a tagged template literal for HTML which interpolates values based on context, allowing automatic escaping and the interpolation of non-serializable values, such as event listeners, style objects, and other DOM nodes.

html`whoa`

For more, please read:

https://observablehq.com/@observablehq/htl

To install:

npm install htl

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.