Preparing for system design interviews?  Try bugzed.com →

babel-plugin-export-toplevel

JSON →
library 1.0.0 ·javascript
verified Jun 17, 2026

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.

total hits 17
actors 4 distinct systems
last hit 18d ago AhrefsBot
ByteDance
5
GPTBot
4
Script
1
Humans
3

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · VN · BD