1.0.1 • Published 8 years ago

dev-time v1.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

dev-time Build Status

Get the current local time of a GitHub user.

Install

$ npm install --save dev-time

Usage

const devTime = require('dev-time');

devTime('SamVerschueren').then(time => {
	console.log(time);
	//=> '2015-12-07T08:34:55+01:00'
});

API

devTime(user, options)

user

Type: string

The GitHub user to retrieve the current local time for.

options

token

Type: string

GitHub access token.

Can be set globally with the GITHUB_TOKEN environment variable.

Related

License

MIT © Sam Verschueren

1.0.1

8 years ago

1.0.0

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.3

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago