Preparing for system design interviews?  Try bugzed.com →

babel-plugin-transform-export-default-name

JSON →
library 2.1.0 ·javascript maintenance
verified Jun 17, 2026

Babel plugin that transforms export default of anonymous functions, arrow functions, and anonymous classes to named exports using the filename as the variable name. Version 2.1.0 is current. Released sporadically; last update was several years ago. Key differentiator: solves stack trace readability by assigning a derived name from the file (e.g., foo-bar.js becomes fooBar), improving debugging. Unlike other plugins that only handle function declarations, this targets anonymous/arrow function and class expressions. Works with Babel 6 and 7 (likely).

total hits 13
actors 4 distinct systems
last hit 20d ago AhrefsBot
GPTBot
4
ByteDance
4
Script
1

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany