plainJS

Libraries / UI

highlight.js

JavaScript syntax highlighter with language auto-detection and zero dependencies.

Active0 dependenciesESM + script tagTypes bundledBSD-3-Clause

Facts

Facts fetched 2026-10-30 by the directory sync (GitHub, npm, jsDelivr, deps.dev). Nothing here is typed by hand.
Size0.2 KB gzipped (es/index.js)
LicenceBSD-3-Clause
Dependenciesnone
Last releasev11.12.0, August 2026
Last activity2026-09-06 (Active)
Stars25,008 on GitHub
FormatsES module; classic script; TypeScript types in the package
CDN hits19.7 million a month on jsDelivr
npm downloads150.7 million a month
GatesG1 passed (no runtime dependencies); G2 failed (loads in a browser as it is); G3 passed (no compile-only entry points); G4 passed (open-source licence); G5 passed (not archived or deprecated). Smoke test on v11.12.0 in headless Chromium, 2026-10-30
Advertisement

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