Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

PrismJS

Lightweight syntax highlighter library supporting 600+ languages for code display.

Markdown, editors and contentNPM

GitHubWebsite

1. License

License from npm.

github.com/PrismJS/prism

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What PrismJS does

Lightweight syntax highlighter library supporting 600+ languages for code display.

PrismJS popularity

74 / 100
Gid Score, #235 overall
50.7M
downloads a week, npm
13.1K
GitHub stars
22
agent projects use it
PrismJS: downloads per weeknpm, prismjs 50,743,040
PrismJS: GitHub starsPrismJS/prism 13,078

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How PrismJS is used

  • PrismJS is a dependency in 22 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.5% of the 4,867 JavaScript/TypeScript ones), #39 of 149 in markdown, editors and content.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 157; those are left out of every share on this page.
  • The most used alternative in our scan is highlight.js (66 projects).
  • Projects that use it most often also use jsdom (45.5%), ESLint (81.8%), Vite (59.1%).

By coding agent

14 projects, 0.4%
13 projects, 0.5%
12 projects, 0.4%

Often used with

In 45.5% of its projects
In 81.8% of its projects
In 59.1% of its projects
In 59.1% of its projects
In 40.9% of its projects
In 95.5% of its projects
In 72.7% of its projects
In 36.4% of its projects

More about PrismJS

Funding
  • Open Collective: https://opencollective.com/prismjs

See all

More in Markdown, editors and content

Alternatives

PrismJS This page

MITGid 7450.7M/wk

highlight.js

Syntax highlighting library with automatic language detection for code blocks.

BSD-3-ClauseGid 7758.1M/wk

Compare PrismJS with another tool

Get started

Install it.

npm install prismjs

No step-by-step start for PrismJS yet: we have not written its hand-checked card.