latest-commit
v3.0.0
Published
Get the latest commit of a GitHub user.
Maintainers
Readme
latest-commit 
Get the latest commit of a GitHub user.
Install
$ npm install --save latest-commitUsage
const latestCommit = require('latest-commit');
latestCommit('SamVerschueren', {token: 'foo'}).then(commit => {
//=> commit object
});API
latestCommit(user, [options])
Returns a promise for the latest commit.
user
Type: string
User to retrieve the latest commit for.
options
token
Type: string
GitHub access token.
Can be set globally with the GITHUB_TOKEN environment variable.
License
MIT © Sam Verschueren
