rollup-plugin-git-info
JSON →A Rollup plugin that injects git build metadata (branch, commit hash, abbreviated hash, version, dates) into imported package.json files. Version 1.0.0 requires Node.js 12+ and Rollup 2+. This plugin is minimal and focused: it relies on @rollup/plugin-json for JSON handling and git CLI commands for data collection. Unlike alternatives that use environment variables or require manual configuration, it automatically populates standard fields like gitVersion and buildDate with no setup beyond adding the plugin.
Traffic · last 30 days ↑50% vs prev 7d
total hits 11
actors 4 distinct systems
last hit 3d ago Bingbot
top countries 🇺🇸 United States · 🇨🇦 Canada · VN
Resources
API endpoints
full doc /v1/registry/rollup-plugin-git-info