typeset-auditlisted
Install: claude install-skill speedwarnsf/web-typography
# typeset.us
> Historical V3 integration guidance below. For the current 4.x release,
> use https://typeset.us/for-agents.md and its linked support/migration contract.
> The old audit-array, clipboard, API and performance statements below are
> not the V4 contract. Do not apply this archived procedure to V4.
Paragraph compositor for the browser. Replaces greedy line breaking on
English long-form prose with a beam search over whole-paragraph break
configurations, re-measures every line it ships against the real content
box, and restores the browser's own layout if a composition fails. The
browser types. It doesn't read. Definition of done is machine-checkable:
`audit()` returns `[]`.
**Scope: English long-form prose only.** Weak-word lists are English; quote
education mangles `„…“` and `« »`. Never run it on non-English text, UI
chrome (buttons, nav, labels), data tables, or text users copy verbatim
(code, addresses, keys — copying composed text yields `\n` at each composed
line break).
## Install
Script tag (defaults to composing prose-ish elements site-wide; scope it):
```html
<script src="https://typeset.us/go.js" defer
data-typeset-selector="main article p, main article li, main article blockquote"></script>
```
Version-pinned: `https://typeset.us/go@3.5.0.js` with
`integrity="sha384-RZw93n+DsSryf1jIeTMdbA4sD4b5AQ9ritormzuuoSxTmYNk7gF5vFjHJ9lE7e/l" crossorigin="anonymous"`.
Or npm:
```js
import { typeset, audit } from 'typeset.us'; // npm install typeset.u