babel-plugin-transform-export-default-name
JSON →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).
Traffic · last 30 days ↑200% vs prev 7d
total hits 16
actors 6 distinct systems
last hit 2d ago AhrefsBot
top countries 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇺🇸 United States · 🇫🇷 France