literal-html

Simple and unsafe HTML/XML templates for TypeScript, using tagged template literals (by jaredkrinke)

Literal-html Alternatives

Similar projects and alternatives to literal-html

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better literal-html alternative or higher similarity.

literal-html reviews and mentions

Posts with mentions or reviews of literal-html. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-26.
  • That people produce HTML with string templates is telling us something
    16 projects | news.ycombinator.com | 26 May 2023
    XSLT has a steep learning curve and it’s extremely verbose. But my main problem with it is that (as far as I know) XHTML isn’t being updated alongside the current HTML spec (with semantic elements).

    Related: I’ll admit that I used to use XSLT for my static site generators [1] and now I’ve switched to string interpolation (with conservative escaping as the default) [2].

    [1] https://github.com/jaredkrinke/flog/blob/main/post.xsl

    [2] https://github.com/jaredkrinke/literal-html

Stats

Basic literal-html repo stats
1
0
10.0
over 2 years ago

jaredkrinke/literal-html is an open source project licensed under MIT No Attribution which is not an OSI approved license.

The primary programming language of literal-html is TypeScript.


Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com