Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
parse author and committer names from git commits
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
index.js
package.json
test.js

README.md

git-parse-human

parse author and committer names from git commit data.

var human = require('git-parse-human')
  , committer = 'Chris Dickinson <christopher.s.dickinson@gmail.com> 1363906748 -0700'

human(committer) // {name, email, time, tzoff}

API

human(str) -> result object | null

parse a human, returning an object with their name, their email, the commit timestamp in MS and the commit timezone offset in MS.

License

MIT

Something went wrong with that request. Please try again.