babel-parse-wild-code
JSON →Parse user code files using their project's installed Babel version and config, with automatic fallback. Handles JS, TS, TSX, and DTS files with correct parser plugins based on file extension. Supports Babel 7 only. Current stable version 2.1.5 (June 2023). Key differentiator: resolves ambient Babel config per file directory, works around Babel 7 performance bug where parseAsync redoes loadOptionsAsync work. Falls back to @babel/parser defaults if @babel/core or config is missing. Ships ESM and CJS exports with TypeScript definitions. Maintained by codemodsquad.
Traffic · last 30 days ↓42% vs prev 7d
total hits 31
actors 8 distinct systems
last hit 1d ago AhrefsBot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · VN · 🇨🇦 Canada
Resources
API endpoints
full doc /v1/registry/babel-parse-wild-code
compatibility /v1/registry/babel-parse-wild-code/compatibility