vite-plugin-package-version
JSON →Vite plugin that injects the version from package.json into the Vite environment as import.meta.env.PACKAGE_VERSION. Version 1.1.0 is the current stable release; it requires Vite >=2.0.0-beta.69. The plugin is lightweight and focused solely on exposing the package version. Unlike rollup plugins or manual env variable injection, it provides a simple, zero-config approach for Vite projects. No breaking changes reported; TypeScript types are included.
Traffic · last 30 days stale · no recent hits
total hits 20
actors 6 distinct systems
last hit 24d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · VN · 🇬🇧 United Kingdom · 🇨🇦 Canada
Resources
API endpoints
compatibility /v1/registry/vite-plugin-package-version/compatibility