repo-latest-commit
Get the latest commit info of a git repository.
Last updated 4 years ago by rem .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install repo-latest-commit 
SYNC missed versions from official npm registry.

repo-latest-commit NPM version NPM downloads Build Status

Get the latest commit info of a git repository.

Install

$ npm install --save repo-latest-commit

Usage

const latestCommit = require('repo-latest-commit')

latestCommit()
<!-- {
  message: 'let it rock\n    \n    wow',
  commit: 'ad4e3a8c6797300cf18665e421de9763ba8ef3fa',
  author: 'Your Name',
  email: 'you@example.com',
  date: 'Thu Oct 6 17:38:00 2016 +0800' 
} -->

latestCommit('../another-directory')

License

MIT © EGOIST

Current Tags

  • 1.0.0                                ...           latest (4 years ago)

5 Versions

  • 1.0.0                                ...           4 years ago
  • 0.1.3                                ...           5 years ago
  • 0.1.2                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (1)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |