Get the current local time of a GitHub user.
$ npm install --save dev-time
const devTime = require('dev-time');
devTime('SamVerschueren').then(time => {
console.log(time);
//=> '2015-12-07T08:34:55+01:00'
});
Type: string
The GitHub user to retrieve the current local time for.
Type: string
GitHub access token.
Can be set globally with the GITHUB_TOKEN
environment variable.
- dev-time-cli - CLI for this module
MIT © Sam Verschueren