// OWNER · chenglou · REPO SNAPSHOT
chenglou
Fast, accurate & comprehensive text measurement & layout
//STAR HISTORY · 12M
Fast, accurate & comprehensive text measurement & layout
Pure JavaScript/TypeScript library for multiline text measurement & layout. Fast, accurate & supports all the languages you didn't even know about. It has reached 47,657 GitHub stars, written primarily in TypeScript.
Why now: Recent coverage — "chenglou/pretext: Fast, accurate & comprehensive text measurement ..." — alongside renewed developer interest is driving current visibility.
- 47,657 GitHub stars, 2,658 forks — verifiable at github.com/chenglou/pretext.
- Primary language TypeScript.
- Licensed MIT.
- Third-party coverage: "chenglou/pretext: Fast, accurate & comprehensive text measurement ...".
Considerations: At roughly 3 months old, it's early — the architecture and maintenance cadence haven't been battle-tested yet.
ESTABLISHED LEADER · Build on it: Proven at scale (TypeScript) — safe to evaluate for production use or coverage; the open question is fit, not validity.
Sources: chenglou/pretext on GitHub · Project homepage · Pretext: 15KB Library Makes SVG Text Layout 300× Faster (2026) · Pretext Library Ends Web Text Layout Bottlenecks - Twitter
Methodology: synthesized from this project's own documentation, live GitHub data, third-party coverage, and multi-platform signal convergence — by AISO.tools.
// RELATED REPOS · CROSS-SOURCE OVERLAP
▌ FAQ · answers from the data spine
What is chenglou/pretext?
Who maintains pretext?
What language is pretext written in?
When was pretext created? When was the last update?
How do I install pretext?
git clone https://github.com/chenglou/pretext.gitThen follow the README in the cloned directory.
//COMMENTS · 0
Sign in to join the discussion