Justif – Knuth-Plass justification and microtypography for the web
Knuth-Plass algorithm in JS delivers InDesign-level justification where CSS text-align fails.

Brings TeX-quality Knuth-Plass justification to the web where CSS text-align fails.
Frontend developers, typography enthusiasts, digital publishers
hyphenopoly.js · typeset.css
Browsers have got better recently at handling justified text [0], but still are not near that TeX/InDesign level of quality that I crave.
Inspired by running headfirst into disappointment with how text justification looked on a recent project site of mine, and by Oskar Wickström's "Proportional Web" [1], I decided to make a drop in js library that justifies text at least as well as TeX can, all with a single <script> import.
Justif also has the benefit of providing consistent text layout across browsers. Blink (Chrome), Gecko (Firefox) and WebKit (Safari) all justify text differently, so normally what the user sees depends on what browser they use.
Take a look at the demo, play around with it, try some different browsers. Constructive feedback is always welcome.
0: https://cloudfour.com/thinks/justified-text-better-than-expe... 1: https://owickstrom.github.io/the-proportional-web/
Knuth-Plass algorithm in JS delivers InDesign-level justification where CSS text-align fails.
AI generates fake scientific citations to justify your impulse purchases.
AI-generated excuses for impulse buys disguised as a research institute.
Modular TeX re-implementation visualizes Knuth's hyphenation algorithm step-by-step.
FCF grading is sound, but stock screeners already exist everywhere (Yahoo Finance, TradingView).
Native binary format beats JSONEachRow by 2–8x on large payloads with ZSTD compression.