highlight.js
JavaScript syntax highlighter with language auto-detection and zero dependencies.
Active0 dependenciesESM + script tagTypes bundledBSD-3-Clause
Facts
| Size | 0.2 KB gzipped (es/index.js) |
|---|---|
| Licence | BSD-3-Clause |
| Dependencies | none |
| Last release | v11.12.0, August 2026 |
| Last activity | 2026-09-06 (Active) |
| Stars | 25,008 on GitHub |
| Formats | ES module; classic script; TypeScript types in the package |
| CDN hits | 19.7 million a month on jsDelivr |
| npm downloads | 150.7 million a month |
| Gates | G1 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
Related libraries
- Notus – Web Notifications Widget Yet another JavaScript pop-up notification library for the web.
- Speckle.js A JavaScript plugin that adds responsive, stylized speckles to any element; with no dependencies.
- Roar A zero-dependency, vanilla JavaScript alert/confirm replacement.
Entry 23 in the directory. Facts refreshed monthly; last run 2026-10-30.