Babel Config Generator
Generate a babel.config.json or .babelrc from form fields: @babel/preset-env (targets, modules, useBuiltIns/corejs), preset-react (runtime, development), preset-typescript, preset-flow, common syntax/transform plugins, a decorators toggle (legacy or current proposal), and env overrides for tests (Jest) and production (strip console.*). Also shows the matching npm install command.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Config file
babel.config.json, .babelrc @babel/preset-env — compile modern JS down to your targets
targets
modules
auto, false, commonjs useBuiltIns
false, usage, entry corejs version
@babel/preset-react — compile JSX
runtime
automatic, classic development — extra warnings + component stack traces
@babel/preset-typescript — strip TS types
Allow TSX syntax in .ts files (isTSX + allExtensions)
@babel/preset-flow — strip Flow types
Syntax / transform plugins
@babel/plugin-transform-runtime, @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods, @babel/plugin-transform-private-property-in-object, @babel/plugin-syntax-dynamic-import, @babel/plugin-proposal-export-default-from @babel/plugin-proposal-decorators
Use legacy decorators (older Angular/MobX/TypeORM-style @decorator)
Test env: target the current Node version (common Jest setup)
Production env: strip console.* calls (babel-plugin-transform-remove-console)
Include section comments
Include descriptive header comment
Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.