babel-plugin-transform-export-default-name

JSON →
library 2.1.0 ·javascript maintenance
verified May 27, 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 16
actors 6 distinct systems
last hit 2d ago AhrefsBot
ByteDance
3
GPTBot
2
Script
1
Search engines
1
Humans
1

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