babel-plugin-export-toplevel
JSON →A Babel plugin that automatically exports all top-level declarations (e.g., const, function, class) from a module. At version 1.0.0, it is a stable, single-purpose utility primarily used in testing to expose internal functions or variables for unit tests without modifying production exports. It only affects development builds and has no runtime dependencies. Unlike other export injection plugins, it specifically targets top-level names and preserves existing exports.
Traffic · last 30 days ↓25% vs prev 7d
total hits 24
actors 8 distinct systems
last hit 15h ago AhrefsBot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇬🇧 United Kingdom
Resources
API endpoints
compatibility /v1/registry/babel-plugin-export-toplevel/compatibility