lebab/lebab
Turn your ES5 code into readable ES6. Lebab does the opposite of what Babel does. observed · 2026-08-28
Health v2 · maintenance only
59/100
- Activity 75
- Release rhythm 16
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 98.0
- age_days: 4214
- days_rel: 465
- days_push: 154
- n_releases_24m: 3
Adoption not part of the score
5637 stars · 151 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Lebab is a JavaScript transpiler that converts ES5 code into readable ES6/ES7, doing the opposite of Babel. It offers a CLI and library API with individual, well-documented transforms (arrow functions, let/const, classes, for-of, etc.) that can be applied incrementally.
Use cases
- modernize legacy ES5 JavaScript codebase to ES6
- convert callback functions to arrow functions automatically
- upgrade var declarations to let and const
- transform old for loops to for-of loops
- refactor prototype-based code to ES6 classes
- batch-rewrite a directory of JS files in place
When to choose
- you have an older ES5 codebase you want to gradually modernize
- you want safe, one-transform-at-a-time codemods with inspectable diffs
- you prefer a CLI tool that can rewrite files in place
When to avoid
- you need to transpile modern code down to ES5 for old browsers (use Babel)
- you expect fully automatic conversion without reviewing diffs - transforms have documented limitations
- you need transforms for very recent ECMAScript features
Facets
cli-tool · maturity active
compiler cli developer-tools developer-tools programming-languages web-development cli cross-platform es6 es2015 transpiler code-mod codemod javascript refactoring babel-reverse nodejs
3 sources
- readme: https://github.com/lebab/lebab · fetched 2026-08-28 · bb7f1d9d704b
- homepage: https://lebab.github.io · fetched 2026-08-29 · 977decbabcea
- registry_npm: https://registry.npmjs.org/lebab · fetched 2026-08-29 · 2a6a8e6ce396
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lebab/lebab | main | 59 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem