Get a project's current git commit/tag via Node and Browserify
$ npm install --save releaseify
var release =
$ browserify entry.js -t releasify/transform
In Node, the git data will be read at run time. When the transform is applied via Browserify, the data is statically inserted into the bundle.
The Browserify transform works by statically analyzing your code and transforming releasify calls with inline shims. Static analysis is fragile and you'll want to write your code so that static analysis can detect your function calls.
var releaseify =
var releaseify =releaseify
release([options], callback) ->
Options that will be passed directly to
A function that receives an error (from git) or release data (
MIT © Ben Drucker