developit/htm
Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2956
- days_rel: n/a
- days_push: 944
- n_releases_24m: 0
Adoption not part of the score
9044 stars · 181 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
HTM (Hyperscript Tagged Markup) is a tiny JavaScript library that provides JSX-like syntax using standard tagged template literals, requiring no transpiler. It binds to any hyperscript-style h() function, with off-the-shelf bindings for React and Preact and a Babel plugin that compiles it away for production.
Use cases
- write JSX-like components without a build step
- use React or Preact directly in the browser
- reduce bundle size by compiling template syntax away
- prototype UI components with no tooling
- use JSX-style syntax in environments without transpilers
When to choose
- you want JSX ergonomics without a build pipeline
- you use Preact or React and want a tiny syntax layer
- you need to run component code directly in modern browsers
- bundle size is critical
When to avoid
- you already have a full JSX/Babel toolchain
- you need full JSX ecosystem tooling and type checking
- you use a framework without a hyperscript-style createElement
Facets
library · maturity stable
templating frontend-framework ui-components web-development frontend browser jsx-alternative tagged-templates hyperscript virtual-dom preact react babel-plugin no-transpiler nodejs javascript
2 sources
- readme: https://github.com/developit/htm · fetched 2026-08-28 · f923f2138af1
- registry_npm: https://registry.npmjs.org/htm · fetched 2026-08-29 · baf221bb8f93
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| developit/htm | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem