# davidmerfield/Typeset

An HTML pre-proces­sor for web ty­pog­ra­phy

Repository: https://github.com/davidmerfield/Typeset
Canonical: https://ross.abutalabs.com/products/typeset
Homepage: https://typeset.lllllllllllllllll.com/
Language: JavaScript
License: CC0-1.0
License Family: permissive
Last push: 2025-04-19T13:46:51+00:00

## Health v2 (maintenance only)
Score: 30/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 17, release rhythm 8, longevity 100
- inputs: {"age_days": 4206, "days_push": 501, "days_rel": 501, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2679, forks 53 (observed 2026-08-28T04:07:09.966061+00:00)

## What it is
Typeset is an HTML pre-processor for web typography that applies fine-printing features like hanging punctuation, optical margin alignment, small caps, ligatures, and soft hyphen insertion. It runs at build time via a Node.js API or CLI, producing static HTML and minimal CSS with no client-side JavaScript required.

## Use cases
- apply hanging punctuation to my blog html
- add small caps and ligatures to web pages at build time
- improve web typography without client-side javascript
- insert soft hyphens for better line breaking
- optically align margins around quotes and punctuation
- preprocess html for fine printing typography
- typeset static html files from the command line

## When to choose
- you want traditional print-quality typography on static or server-rendered HTML
- you need a build-time solution with zero client-side JavaScript
- you use Grunt or gulp and want a typography plugin
- you need output that works even in very old browsers without CSS

## When to avoid
- you need dynamic client-side typography on user-generated content rendered in the browser
- your site relies on a modern JS framework and you prefer CSS-only typographic features
- you need features beyond the fixed set of typographic transformations it provides

## Facets
- artifact type: library
- maturity: maintenance
- function: templating, formatter, developer-tools
- domain: web-development, frontend, web-design
- platform: cli
- tags: typography, html-preprocessor, hanging-punctuation, small-caps, hyphenation, ligatures, static-html, nodejs, web-server

## Member repositories
- davidmerfield/Typeset (main) score 30

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:09.966061+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:17:57.327742+00:00, confidence not recorded.
  - readme: https://github.com/davidmerfield/Typeset (fetched 2026-08-28T04:07:09.966061+00:00, sha c1418a9f78aa)
  - homepage: https://typeset.lllllllllllllllll.com/ (fetched 2026-08-29T10:00:31.464481+00:00, sha 751befd762e0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
