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

tz-db

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tz-db

Static database of timezone names and offsets scraped from wikipedia, current as of January 2015

latest
Source
npmnpm
Version
0.3.1
Version published
Maintainers
1
Created
Source

TZ-DB

A static database of timezone labels and both standard and DST offset values for each; as scraped from wikipedia.

var tz = require('tz-db');

tz.zones[407];
//=> Europe/London

tz.tz['Europe/London'];
//=> { std: '+00:00', dst: '+01:00' }

tz.tz['America/New_York'];
//=> { std: '-05:00', dst: '-04:00' }

Recompiling is easy:

cd tz-db
node src/compile.js

Keywords

timezone

FAQs

Package last updated on 20 Mar 2015

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