Skip to content
PluginStats

babel-plugin-prismjs weekly downloads statistics

By jamesdigioia · npm · Babel plugins

A babel plugin to use PrismJS with standard bundlers.

View on npm Stale · Dec 3, 2026

babel-plugin-prismjs has 74,885 recorded weekly downloads on npm, an increase of 21.3% over the past 30 days, ranking #691 of 3,247 tracked listings.

Weekly downloads
74,885
Official API · Dec 5, 2026
7-day growth
+25.2%
+15.1K weekly downloads
30-day growth
+21.3%
+13.2K weekly downloads
90-day growth
-4.6%
-3.6K weekly downloads
Rank
#691
▲ 32 in 7 days

About babel-plugin-prismjs

babel-plugin-prismjs Build Status

A babel plugin to use PrismJS with standard bundlers.

How to Use

This plugin allows you to treat PrismJS as a standard module and configure what languages, plugins, & themes you want to bundle with Prism.

In your code, import prismjs:

import Prism from 'prismjs';

Prism.highlightAll();

The exported Prism object will be the fully-configured Prism instance.

Limitations
  • You must be using ES6 imports to load PrismJS.

Configuring the plugin

In your .babelrc, register the plugin and configure its dependencies:

{
  "plugins": [
    ["prismjs", {
        "languages": ["javascript", "css", "markup"],
        "plugins": ["line-numbers"],
        "theme": "twilight",
        "css": true
    }]
  ]
}

Each key are used as follows:

  • languages: Array of languages to include in the bundle or "all" to include all languages. Those languages can be found here.
  • plugins: Array of plugins to include in the bundle. Those plugins can be found here.
  • theme: Name of theme to include in the bundle. Themes can be found here.
  • css: Boolean indicating whether to include .css files in the result. Defaults to false. If true, imports will be added for .css files. Must be true in order for theme to work.

Description from the npm listing.

  • prismjs
  • syntax-highlighting
  • babel-plugin

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

babel-plugin-prismjs weekly downloads on npm, last 90 days: 74,885 weekly downloads as of Dec 5, 2026, -4.6% over 90 days.babel-plugin-prismjsWeekly downloads on npm · Last 90 days74,885downloads / week-4.6% over 90 days020K40K60K80K100K120KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
babel-plugin-prismjs weekly downloads on npm, last 90 days: 74,885 weekly downloads as of Dec 5, 2026, -4.6% over 90 days.

7/30/90-day growth

babel-plugin-prismjs weekly downloads growth on npm: +25.2% over 7 days, +21.3% over 30 days, -4.6% over 90 days.babel-plugin-prismjsWeekly downloads growth on npm74,885downloads / week now7-day growth+15,084 weekly downloads+25.2%30-day growth+13,158 weekly downloads+21.3%90-day growth-3,632 weekly downloads-4.6%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
babel-plugin-prismjs weekly downloads growth on npm: +25.2% over 7 days, +21.3% over 30 days, -4.6% over 90 days.

Ranking history

babel-plugin-prismjs npm ranking history: currently #691 (by weekly downloads).babel-plugin-prismjsnpm ranking · by weekly downloads · Last 90 days#691current rank#200#300#400#500#600#700#800Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 22 observations · Updated Dec 5, 2026pluginstats.com
babel-plugin-prismjs npm ranking history: currently #691 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 35, #11 (overall #691)
All npm: every listing in weekly downloads order

Listing placement

Babel plugins263 listings · 14 pages · page 13, #8 (overall #248)
Babel plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (592)
Recent weekly downloads observations for babel-plugin-prismjs
Date (UTC)Weekly downloadsChange vs. previous
74,885-3.8K
78,726+5.3K
73,404+6.3K
67,150+2K
65,146+884
64,262+1K
63,237+3.4K
59,801-4.3K
64,073-1.8K
65,833-4.8K
70,612-1.2K
71,840-824
72,664+687
71,977—

Similar npm Babel plugins plugins

All 20 babel-plugin-prismjs alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/babel-plugin-prismjs. First seen Oct 16, 2026; last successful collection Dec 3, 2026. See the methodology.