estree-to-babel
JSON →Converts ESTree-compatible JavaScript AST (from parsers like acorn, cherow, espree) to Babel AST for use with tools like @babel/traverse, @babel/types, etc. Current stable version is v12.0.1, released in 2025. Requires Node >=22 and ships TypeScript types. Key differentiators: handles differences between ESTree and Babel AST (Literal vs StringLiteral, ChainExpression vs OptionalMemberExpression, etc.), TypeScript-ESTree specifics (ClassPrivateProperty, TSQualifiedName), and provides convertParens option to control parenthesization. ESM-only since v12, dropping CommonJS support.
Traffic · last 30 days ↑71% vs prev 7d
total hits 22
actors 6 distinct systems
last hit 1d ago ByteDance
top countries 🇺🇸 United States · 🇸🇬 Singapore · BD · 🇨🇦 Canada · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/estree-to-babel
compatibility /v1/registry/estree-to-babel/compatibility