# @react-native/babel-plugin-codegen

> Babel plugin to generate native module and view manager code for React Native.

Latest version **0.87.1** (published 2026-08-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @react-native/babel-plugin-codegen
pnpm add @react-native/babel-plugin-codegen
yarn add @react-native/babel-plugin-codegen
bun add @react-native/babel-plugin-codegen
```

## Health

**Score 70/100 (B)** — status: active.

Positive: no vulnerabilities; has provenance; recently updated; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no types; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.87.1 |
| Published | 2026-08-26 |
| First published | 2021-12-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | ^22.13.0 \|\| ^24.3.0 \|\| >= 26.0.0 |
| Dependencies | 2 |
| Unpacked size | 9.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 126581 |
| Maintainers | react-native-bot, fb |
| Keywords | babel, plugin, codegen, react-native, native-modules, view-manager |

## Links

- npm: https://www.npmjs.com/package/@react-native/babel-plugin-codegen
- Repository: https://github.com/react/react-native
- Homepage: https://github.com/react/react-native/tree/HEAD/packages/babel-plugin-codegen#readme
- Issues: https://github.com/react/react-native/issues
- npm.io page: https://npm.io/package/@react-native/babel-plugin-codegen

## Dependencies (2)

- [@babel/traverse](https://npm.io/package/@babel/traverse.md) ^7.29.0
- [@react-native/codegen](https://npm.io/package/@react-native/codegen.md) 0.87.1

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.87.1 (latest) — 2026-08-26
- 0.89.0-nightly-20260916-0c35f5744 (nightly) — 2026-09-16
- 0.88.0-rc.1 (next) — 2026-09-15
- 0.86.3 (0.86-stable) — 2026-08-24
- 0.83.10 (0.83-stable) — 2026-06-25
- 0.81.6 (0.81-stable) — 2026-02-05
- 0.80.3 (0.80-stable) — 2026-01-26
- 0.79.7 (0.79-stable) — 2025-10-21
- 0.77.3 (0.77-stable) — 2025-07-21
- 0.78.3 (0.78-stable) — 2025-07-09
- 0.76.9 (0.76-stable) — 2025-04-03
- 0.75.5 (0.75-stable) — 2025-02-06
- 0.74.89 (0.74-stable) — 2025-01-27
- 0.74.82 (false) — 2024-05-01
- 0.89.0-nightly-20260915-df6ca864a — 2026-09-15
- … 1152 more at https://npm.io/package/@react-native/babel-plugin-codegen/versions

## README

# @react-native/babel-plugin-codegen

[![npm]](https://www.npmjs.com/package/@react-native/babel-plugin-codegen) [![npm downloads]](https://www.npmjs.com/package/@react-native/babel-plugin-codegen)

[npm]: https://img.shields.io/npm/v/@react-native/babel-plugin-codegen.svg?color=blue
[npm downloads]: https://img.shields.io/npm/dm/@react-native/babel-plugin-codegen.svg

Babel plugin that generates native module and view manager binding code for React Native, powered by [`@react-native/codegen`](https://www.npmjs.com/package/@react-native/codegen).

---
_Source: https://npm.io/package/@react-native/babel-plugin-codegen · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
