babel-plugin-version
JSON →A Babel plugin that replaces occurrences of the string literal or identifier `__VERSION__` with the version string from `package.json` (e.g., `"0.2.3"`). Current stable version 0.2.3 enables compile-time version injection. The plugin can be configured to use a custom define name and to toggle replacement of identifiers vs. string literals. This is a lightweight zero-dependency tool for build processes using Babel for JavaScript/TypeScript projects.
Traffic · last 30 days stale · no recent hits
total hits 9
actors 3 distinct systems
last hit 20d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France
Resources
API endpoints
full doc /v1/registry/babel-plugin-version
compatibility /v1/registry/babel-plugin-version/compatibility