{"library":"estree-to-babel","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"12.0.1","tags":["javascript","ast","convert","estree","babel","espree","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install estree-to-babel","imports":["import { estreeToBabel } from 'estree-to-babel'","import convert from 'estree-to-babel'","import type { EstreeToBabelOptions } from 'estree-to-babel'"]},{"cmd":"yarn add estree-to-babel","imports":[]},{"cmd":"pnpm add estree-to-babel","imports":[]}],"homepage":null,"github":"https://github.com/coderaiser/estree-to-babel","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/estree-to-babel","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/estree-to-babel/compatibility"}}