# babel/babel-upgrade

⬆️ A tool for upgrading Babel versions (to v7): `npx babel-upgrade`

Repository: https://github.com/babel/babel-upgrade
Canonical: https://ross.abutalabs.com/products/babel-upgrade
Language: JavaScript
License Family: other
Topics: babel, babel-upgrade
Last push: 2023-07-08T11:36:45+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3124, "days_push": 1152, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1303, forks 53 (observed 2026-08-28T04:04:18.393109+00:00)

## What it is
A CLI codemod tool that automatically upgrades JavaScript projects from Babel 6 to Babel 7 by rewriting package. dependencies, config files, and scripts. It can preview changes as a diff or write them directly, optionally running npm/yarn install afterward.

## Use cases
- upgrade a project from Babel 6 to Babel 7
- rename babel packages to @babel scoped packages automatically
- update package. devDependencies for a Babel migration
- fix mocha and jest scripts after a Babel upgrade
- preview a diff of Babel migration changes before applying

## When to choose
- you are migrating a legacy codebase from Babel 6 to Babel 7
- you want to automate package renames and config updates instead of doing them by hand

## When to avoid
- you are already on Babel 7 or newer
- you need a general-purpose dependency upgrade tool rather than a Babel-specific codemod
- you need actively maintained tooling with guaranteed fixes

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: developer-tools, cli, build-tool, package-manager
- domain: developer-tools, web-development
- platform: cli, cross-platform
- tags: babel, codemod, migration, upgrade-tool, javascript, command-line, automation, nodejs

## Member repositories
- babel/babel-upgrade (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:18.393109+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:51:11.162751+00:00, confidence not recorded.
  - readme: https://github.com/babel/babel-upgrade (fetched 2026-08-28T04:04:18.393109+00:00, sha d61d854a6438)
  - registry_npm: https://registry.npmjs.org/babel-upgrade (fetched 2026-08-29T12:09:28.038803+00:00, sha 0ab261f347b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
