Socket
Book a DemoInstallSign in
Socket

git-load-refs

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-load-refs

stream of git refs given a stream of paths and fs.Stats

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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

Keywords

git

FAQs

Package last updated on 18 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts