UNPKG

git-head

Version:
11 lines (7 loc) 166 B
#!/usr/bin/env node 'use strict' var gitHead = require('../') gitHead(function (err, hash) { if (err) return console.error('ERROR:', err) console.log(hash) })