Skip to content
PluginStats

babel-plugin-relay weekly downloads statistics

By facebook (4 listings) · npm · Babel plugins

A Babel Plugin for use with Relay applications.

View on npm Fresh · Dec 6, 2026

babel-plugin-relay has 573,560 recorded weekly downloads on npm, an increase of 3.5% over the past 30 days, ranking #380 of 3,247 tracked listings.

Weekly downloads
573,560
Official API · Dec 5, 2026
7-day growth
+22.5%
+105.3K weekly downloads
30-day growth
+3.5%
+19.6K weekly downloads
90-day growth
+98.0%
+283.9K weekly downloads
Rank
#380
▲ 11 in 7 days

About babel-plugin-relay

babel-plugin-relay

Relay requires a Babel plugin to convert GraphQL tags to runtime artifacts.

A very simplified example of what this plugin is doing:

// It converts this code
const fragment = graphql`
  fragment User_fragment on User {
    name
  }
`;

// To require generated ASTs for fragments and queries
const fragment = require('__generated__/User_fragment.graphql');

Plugin Configuration

babel-plugin-relay will discover the config if:

  • There is a relay.config.json, relay.config.js file at the root of the project (i.e. in the same folder as the package.json file).
  • The package.json file contains a "relay" key.
Supported configuration options for babel-plugin-relay
  • artifactDirectory A specific directory to output all artifacts to. When enabling this the babel plugin needs artifactDirectory to be set as well. [string]
  • eagerEsModules This option enables emitting ES modules artifacts. [boolean][default: false]
  • codegenCommand The command to run to compile Relay files. [string]
  • isDevVariableName Name of the global variable for dev mode (e.g. __DEV__). [string]
  • jsModuleFormat Formatting style for generated files. commonjs or haste. Default is commonjs. [string]

Configuration Instructions

Description from the npm listing.

  • graphql
  • relay
  • babel
  • 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-relay weekly downloads on npm, last 90 days: 573,560 weekly downloads as of Dec 5, 2026, +98.0% over 90 days.babel-plugin-relayWeekly downloads on npm · Last 90 days573,560downloads / week+98.0% over 90 days0100K200K300K400K500K600K700KSep 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-relay weekly downloads on npm, last 90 days: 573,560 weekly downloads as of Dec 5, 2026, +98.0% over 90 days.

7/30/90-day growth

babel-plugin-relay weekly downloads growth on npm: +22.5% over 7 days, +3.5% over 30 days, +98.0% over 90 days.babel-plugin-relayWeekly downloads growth on npm573,560downloads / week now7-day growth+105,317 weekly downloads+22.5%30-day growth+19,575 weekly downloads+3.5%90-day growth+283,940 weekly downloads+98.0%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
babel-plugin-relay weekly downloads growth on npm: +22.5% over 7 days, +3.5% over 30 days, +98.0% over 90 days.

Ranking history

babel-plugin-relay npm ranking history: currently #380 (by weekly downloads).babel-plugin-relaynpm ranking · by weekly downloads · Last 90 days#380current rank#100#150#200#250#300#350#400#450Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
babel-plugin-relay npm ranking history: currently #380 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 19, #20 (overall #380)
All npm: every listing in weekly downloads order

Listing placement

Babel plugins263 listings · 14 pages · page 10, #12 (overall #192)
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-relay
Date (UTC)Weekly downloadsChange vs. previous
573,560+9.2K
564,397+29.3K
535,057+56.7K
478,399+26.4K
451,967-14.1K
466,104-3.3K
469,448+1.2K
468,243-475
468,718-19.7K
488,421-37.7K
526,101-14.5K
540,617+6.1K
534,477-1.9K
536,401—

Similar npm Babel plugins plugins

All 20 babel-plugin-relay 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-relay. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.