Package Exports
- git-head
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (git-head) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
git-head
Install
$ npm install -g git-head
Example
var gitHead = require('git-head')
gitHead('/path/to/.git', function (err, hash) {
if (err) return console.log(err)
console.log('HEAD:', hash)
})
Licence
Copyright © 2015 Christoph Witzko