Skip to content
JS
Package

prism-code-editor

Lightweight, extensible code editor component for the web using Prism

v5.4.0MITESM onlyTypes: BundledRich text and code editors
$ npm install prism-code-editor

Key numbers

As of 25 Sept 2026
Weekly downloads
13k
+245% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
-
v5.4.0
GitHub stars
160
14 forks
Open issues / PRs
3 / 0
Contributors
-
Commits, last 52 weeks
172

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30kSept 2025Mar 2026Sept 2026High 22.8k (21 Jul 2026)Low 1.8k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

13,034 downloads last week, 64,716 in the last month. The 12-month change of +245% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
5.4.0
First published
-
Last push to GitHub
6 Sept 202618 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
0
Commits, last 52 weeks
172
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
2.8 MB
Dependencies (0)
None
Peer dependencies (1)
emmet
npm install prism-code-editor

CDN

jsDelivr: 56.6k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/prism-code-editor@5.4.0/
  • unpkghttps://unpkg.com/prism-code-editor@5.4.0/
  • esm.shhttps://esm.sh/prism-code-editor@5.4.0
PackageWeekly downloadsGzipLast releaseModuleComparison
simple-code-editor5.8k--CommonJS-
vue-prism-editor47.6k-4 years agoESM + CommonJS-
@editorjs/editorjs209.3k-7 days agoESM + CommonJS-
@blocknote/xl-pdf-exporter20.4k-2 days agoESM + CommonJS-
@blocknote/core413k-2 days agoESM + CommonJS-
@blocknote/react411.4k-2 days agoESM + CommonJS-
@blocknote/mantine254.2k-2 days agoESM + CommonJS-
@blocknote/shadcn121.6k-2 days agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.