babel-gettext-extractor
JSON →Babel plugin to extract gettext strings from JavaScript/JSX code, supporting ES6+ and JSX syntax. Current stable version is 4.1.3, maintained by Sentry. It is a fork of babel-gettext-plugin with added support for references and earlier Node.js versions. Works with Babel 7. Key differentiators: flexible configuration of function names, custom output file naming via a callback, base directory for relative paths, and optional whitespace stripping from template literals. Alternatives like babel-plugin-react-intl focus on React Intl, while this plugin targets the standard gettext workflow.
Traffic · last 30 days stale · no recent hits
total hits 12
actors 4 distinct systems
last hit 20d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇨🇳 China · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/babel-gettext-extractor
compatibility /v1/registry/babel-gettext-extractor/compatibility