plainJS

Libraries / UI

type.js

Type.js – Typographic tools for better web type.

Dormant0 dependenciesScript tag

Facts

Facts fetched 2026-10-30 by the directory sync (GitHub, npm, jsDelivr, deps.dev). Nothing here is typed by hand.
Size8.4 KB minified, 3.0 KB gzipped (js/type.js)
Dependenciesnone
Last activity2016-04-11 (Dormant)
Stars1,112 on GitHub
Formatsclassic script (global stylefill;type)
CDN hits134 a month on jsDelivr
GatesG1 passed (no runtime dependencies); G2 passed (loads in a browser as it is); G3 passed (no compile-only entry points); G4 failed (open-source licence); G5 passed (not archived or deprecated). Smoke test on vmaster in headless Chromium, 2026-10-30

Load it

Pin the version. The hash is computed from the file jsDelivr serves, so a changed file fails to load instead of running.

htmlscript tag, with SRI
<script src="https://cdn.jsdelivr.net/gh/nathanford/type.js@master/js/type.js"
        integrity="sha384-NtAT1TZN1XTr01qkqrHXKkBrtssceX6grpmZkHjZbuqHlWSiDyM2ZI8zOcEIX80I" crossorigin="anonymous"></script>
Advertisement

Entry 76 in the directory. Facts refreshed monthly; last run 2026-10-30.