@datadog/mobile-react-native-babel-plugin weekly downloads statistics
By datadog (10 listings) · npm · Babel plugins
A Babel plugin that enhances Datadog's React Native SDK by automatically enriching React components with contextual metadata.
@datadog/mobile-react-native-babel-plugin has 32,250 recorded weekly downloads on npm, a decrease of 60.8% over the past 30 days.
It ranks #650 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -52.0%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About @datadog/mobile-react-native-babel-plugin
Babel Plugin for React Native
The @datadog/mobile-react-native-babel-plugin enhances the Datadog React Native SDK by automatically enriching React components with contextual metadata. This helps improve the accuracy of features such as RUM Action tracking and Session Replay.
Setup
Note: Make sure you've already integrated the [Datadog React Native SDK][1].
To install with NPM, run:
To install with Yarn, run:
Configure Babel
Add the plugin to your Babel configuration. Depending on your setup, you might be using a babel.config.js, .babelrc, or similar.
Example configuration:
Configuration Options
You can configure the plugin to adjust how it processes your code, giving you control over its behavior and allowing you to tailor it to your project’s needs.
Top-level options
| Option | Type | Default | Description |
| actionNameAttribute | string | – | The chosen attribute name to use for action names. | | sessionReplay | object | – | Session Replay configuration. | | components | object | – | Component tracking configuration. |
sessionReplay options
| Option | Type | Default | Description |
| svgTracking | boolean | false | Whether to track SVG assets in the context of Session Replay. |
components options
| Option | Type | Default | Description |
| useContent | boolean | true | Whether to use component content (for example: children, props) as the action name. | | useNamePrefix | boolean | true | Whether to prefix actions with the component name. | | tracked | array | – | List of component-specific tracking configs. |
components.tracked[] (per component)
Each entry in the tracked array is an object with the following shape:
| Option | Type | Default | Description |
| name | string | – | The component name to track (e.g., Button). | | useContent | boolean | inherits from global | Override useContent for this component. | | useNamePrefix | boolean | inherits from global | Override useNamePrefix for this component. | | contentProp | string | – | Property name to use for content instead of children (for example: "subTitle"). | | handlers | array | – | List of event/action pairs to track. |
components.tracked[].handlers[]
| Field | Type | Description |
| event | string | The event name to intercept (such as "onPress"). | | action| string | The RUM action name to associate with this event. _(Only "TAP" actions are currently supported)_ |
Example configuration (_using configuration options_):
Troubleshooting
Note: If you're on an older React Native version, and using Typescript in your project, you may need to install the preset @babel/preset-typescript.
To install with NPM, run:
To install with Yarn, run:
Then update your Babel configuration file like using the following example:
Description from the npm listing.
- babel
- babel-plugin
- plugin
- datadog
- react-native
Where @datadog/mobile-react-native-babel-plugin sits in the listing
Each band is one page of 20. Weekly downloads on a log 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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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.
Recent observations
Full history (121)Similar npm Babel plugins plugins
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/@datadog/mobile-react-native-babel-plugin. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.