Retrieve a user's last active GitHub repository.
$ npm install --save last-active-repository
const repository = require('last-active-repository');
repository('SamVerschueren', {token: 'github-token'}).then(repo => {
//=> repository object
});
Returns a promise for the last active repository
Type: string
The user to retrieve the last active repository for.
Type: string
GitHub access token.
Can be overriden globally with the GITHUB_TOKEN
environment variable.
MIT © Sam Verschueren