# @babel/plugin-transform-private-methods

> This plugin transforms private class methods

Latest version **8.0.1** (published 2026-06-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @babel/plugin-transform-private-methods
pnpm add @babel/plugin-transform-private-methods
yarn add @babel/plugin-transform-private-methods
bun add @babel/plugin-transform-private-methods
```

## Health

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

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

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 8.0.1 |
| Published | 2026-06-17 |
| First published | 2023-05-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | ^22.18.0 \|\| >=24.11.0 |
| Dependencies | 2 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 43990 |
| Author | The Babel Team (https://babel.dev/team) |
| Maintainers | hzoo, existentialism, nicolo-ribaudo, jlhwung |
| Keywords | babel-plugin |

## Links

- npm: https://www.npmjs.com/package/@babel/plugin-transform-private-methods
- Repository: https://github.com/babel/babel
- Homepage: https://babel.dev/docs/en/next/babel-plugin-transform-private-methods
- npm.io page: https://npm.io/package/@babel/plugin-transform-private-methods

## Dependencies (2)

- [@babel/helper-plugin-utils](https://npm.io/package/@babel/helper-plugin-utils.md) ^8.0.1
- [@babel/helper-create-class-features-plugin](https://npm.io/package/@babel/helper-create-class-features-plugin.md) ^8.0.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

- 8.0.1 (latest) — 2026-06-17
- 8.0.0-rc.6 (next) — 2026-05-25
- 8.0.0 — 2026-06-16
- 7.29.7 — 2026-05-25
- 8.0.0-rc.5 — 2026-05-12
- 8.0.0-rc.4 — 2026-04-29
- 8.0.0-rc.3 — 2026-03-16
- 8.0.0-rc.2 — 2026-02-15
- 8.0.0-rc.1 — 2026-01-31
- 7.28.6 — 2026-01-12
- 8.0.0-beta.4 — 2026-01-12
- 8.0.0-beta.3 — 2025-10-23
- 8.0.0-beta.2 — 2025-09-05
- 8.0.0-beta.1 — 2025-07-02
- 8.0.0-beta.0 — 2025-05-30
- … 29 more at https://npm.io/package/@babel/plugin-transform-private-methods/versions

## README

# @babel/plugin-transform-private-methods

> This plugin transforms private class methods

See our website [@babel/plugin-transform-private-methods](https://babeljs.io/docs/babel-plugin-transform-private-methods) for more information.

## Install

Using npm:

```sh
npm install --save-dev @babel/plugin-transform-private-methods
```

or using yarn:

```sh
yarn add @babel/plugin-transform-private-methods --dev
```

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