JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16860
  • Score
    100M100P100Q116289F
  • License MIT

finds the hash of the HEAD reference

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

Build Status

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

The MIT License (MIT)

Copyright © 2015 Christoph Witzko