{"library":"babel-plugin-version","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.2.3","tags":["javascript","babel-plugin","version"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-version","imports":["import plugin from 'babel-plugin-version'","plugins: ['version']","plugins: [['version', { define: '__PKG_VERSION__', identifier: false, stringLiteral: true }]]"]},{"cmd":"yarn add babel-plugin-version","imports":[]},{"cmd":"pnpm add babel-plugin-version","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-version","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-version/compatibility"}}