Skip to content
JS
Package

prism-react-renderer

Renders highlighted Prism output using React

v2.4.1, 11 Dec 2024MITESM + CommonJSTypes: Bundled
$ npm install prism-react-renderer

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 4.7m (25 Aug 2026)Low 978.3k (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.

3,578,929 downloads last week, 16,951,261 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
2.4.1, 11 Dec 20241 year ago
First published
17 Aug 2018
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v2 first release 2.0.0, 24 Apr 2023
  2. v1 first release 1.0.0, 28 Sept 2019
  3. v0 first release 0.0.1, 17 Aug 2018

Recent releases

VersionPublished
2.4.111 Dec 2024
2.4.029 Aug 2024
2.3.118 Dec 2023
2.3.021 Nov 2023
2.2.011 Nov 2023
2.1.026 Sept 2023
2.0.626 Jun 2023
2.0.58 Jun 2023
2.0.48 May 2023
2.0.325 Apr 2023
2.0.225 Apr 2023
2.0.125 Apr 2023
2.0.024 Apr 2023
1.3.530 Jun 2022
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
717 kB
Dependencies (2)
clsx@types/prismjs
Peer dependencies (1)
react
npm install prism-react-renderer
  • jsDelivrhttps://cdn.jsdelivr.net/npm/prism-react-renderer@2.4.1/
  • unpkghttps://unpkg.com/prism-react-renderer@2.4.1/
  • esm.shhttps://esm.sh/prism-react-renderer@2.4.1
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

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