Write HTML in JavaScript, using template-tags.
MIT License
Full Changelog: https://github.com/github/jtml/compare/v0.5.0...v0.5.1
Published by keithamus almost 2 years ago
Full Changelog: https://github.com/github/jtml/compare/v0.4.1...v0.5.0
Published by keithamus over 3 years ago
This release adds an unsafeHTML
directive which allows injecting raw HTML strings directly as HTML, circumventing the escaping routines.
Published by keithamus over 3 years ago
This fixes the type signature for until
to allow unknown
values, not just Promise<unknown>
, which allows for passing strings, booleans or TemplaResults
synchronously.