Socket
Book a DemoInstallSign in
Socket

git-parse-human

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-parse-human

parse author and committer names from git commits

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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

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