1.0.0 • Published 8 years ago

git-load-refs v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

git-load-refs

a stream to transform entries from ls-stream into objects representing references.

var ls = require('ls-stream')
  , refs = require('git-load-refs')

ls('.git')
  .pipe(refs('.git'))
  .on('data', function(entry) {
    console.log(entry)
  })

API (basically just data events)

{ 'symbolic': true | false
, 'ref': null | 'refname'
, 'hash': null | 'git hash'
, 'type': 'ref' | 'root-ref'
, 'name': 'ref name' }  

License

MIT

1.0.0

8 years ago

0.0.4

8 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago