Templating in JavaScript, from Zero Dependencies on Up (2021)

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. jsr

    The open-source package registry for modern JavaScript and TypeScript

    Nice article; I do this often with small server-side rendered Deno projects. I haven't felt the need to upgrade to a "proper" templating library yet.

    I noticed the article doesn't mention escaping HTML, which you probably should do if you're expecting user input. Fortunately, such a utility is included in Deno's standard library: https://jsr.io/@std/html/doc/~/escape

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. html

    🏛️ Super fast JSX runtime to generate HTML strings that works everywhere. If it supports string we got you covered. (by kitajs)

    For those looking for something more robust... this is where I'd look: https://github.com/kitajs/html.

    Also Honojs (hono.dev) has a built in HTML function which is quite good and I've used extensively.

  4. typed-html

    TypeSafe HTML templates using TypeScript. No need to learn a template library. (by nicojs)

    kitajs already being a fork of https://github.com/nicojs/typed-html . What makes this one more robust or stable then?

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Proposal for Standardized JSX

    7 projects | news.ycombinator.com | 21 May 2025
  • Proton: Pluggable SSR + DOM | Or How I implemented better SSR from scratch

    5 projects | dev.to | 13 Apr 2025
  • Build a Bookmark Manager with the HONC Stack

    6 projects | dev.to | 5 Mar 2025
  • 30 Best Free Tools for Frontend Developers in 2025

    15 projects | dev.to | 1 Mar 2025
  • The Future of Htmx

    28 projects | news.ycombinator.com | 6 Jan 2025

Did you know that Rust is
the 5th most popular programming language
based on number of references?