Skip to content
JS
Package

prismjs

Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet.

v1.30.0, 10 Mar 2025MITCommonJSTypes: None
$ npm install prismjs

Key numbers

As of 25 Sept 2026
Weekly downloads
21.5m
+112% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v1.30.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30mSept 2025Mar 2026Sept 2026High 29.7m (25 Aug 2026)Low 6.8m (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.

21,549,900 downloads last week, 107,330,975 in the last month. The 12-month change of +112% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
038 in total
Latest version
1.30.0, 10 Mar 20251 year ago
First published
12 May 2015
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
4,797

Major versions

  1. v1 first release 1.1.0, 6 Oct 2015
  2. v0 first release 0.0.1, 13 May 2015

Recent releases

VersionPublished
1.30.010 Mar 2025
1.29.023 Aug 2022
1.28.017 Apr 2022
1.27.017 Feb 2022
1.26.06 Jan 2022
1.25.016 Sept 2021
1.24.13 Jul 2021
1.24.027 Jun 2021
1.23.031 Dec 2020
1.22.010 Oct 2020
1.21.06 Aug 2020
1.20.04 Apr 2020
1.19.013 Jan 2020
1.18.04 Jan 2020
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=6
Runtimes
-
Unpacked size (npm)
2.0 MB
Dependencies (0)
None
npm install prismjs

CDN

jsDelivr: 113.2m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/prismjs@1.30.0/
  • unpkghttps://unpkg.com/prismjs@1.30.0/
  • esm.shhttps://esm.sh/prismjs@1.30.0
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.