New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

dev-time

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dev-time

Get the current local time of a GitHub user.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

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.

  • dev-time-cli - CLI for this module

License

MIT © Sam Verschueren

Keywords

github

FAQs

Package last updated on 26 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