Code editors and highlighters
Show and edit source code in the browser, with colors for its syntax. We rate 8; Shiki leads with 8.5 out of 10.
The numbers
Read from GitHub, npm and the OSV advisory database on 21 November 2026. Downloads also count build servers and installs by other tools, and they grow for almost every package: for the median project we rate, they are ×4.1 of a year before.
| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
|---|---|---|---|---|---|---|
| Shiki | 154M | ×9.7 | 14k | 148 | Nov 2026 | 0 |
| CodeMirror | 95M | ×7.1 | 7.8k | 4 | Oct 2026 | 0 |
| Monaco Editor | 54M | ×5.2 | 47k | 229 | Sept 2026 | 0 |
| highlight.js | 213M | ×4.4 | 25k | 139 | Aug 2026 | 0 |
| Sugar High | 1.7M | ×10 | 1.4k | 243 | Nov 2026 | 0 |
| starry-night | 644k | ×5.9 | 1.8k | 18 | Aug 2026 | 0 |
| Ace | 8.4M | +96% | 27k | 57 | Oct 2026 | 0 |
| Prism | 192M | ×3.9 | 13k | 83 | Mar 2025 | 1 |