git-refs
finds all references of a git repository
Last updated 11 years ago by christophwitzko .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install git-refs 
SYNC missed versions from official npm registry.

git-refs

Build Status

Install

$ npm install -g git-refs

Example

var gitRefs = require('git-refs')

gitRefs('/path/to/.git', function (err, data) {
  if (err) return console.log(err)
  console.dir(data)
  // data is a path-object (http://git.io/Nh7p)
  console.log('master:', data.get('heads/master'))
  console.dir(data.get('tags'))
  console.dir(data.dump())
})

Licence

The MIT License (MIT)

Copyright © 2015 Christoph Witzko

Current Tags

  • 1.1.3                                ...           latest (11 years ago)

5 Versions

  • 1.1.3                                ...           11 years ago
  • 1.1.2                                ...           11 years ago
  • 1.1.1                                ...           11 years ago
  • 1.1.0                                ...           11 years ago
  • 1.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 2
Last Day 0
Last Week 1
Last Month 1
Dependencies (3)
Dev Dependencies (4)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |