Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (28 sloc) 1.36 KB
"name": "tz-lookup",
"version": "4.0.0",
"description": "time zone lookup",
"keywords": [
"time zone"
"author": {
"name": "The Dark Sky Company",
"email": ""
"repository": {
"type": "git",
"url": "git://"
"dependencies": {
"cache-helpers": "1.3.x",
"time": "0.8.x"
"devDependencies": {
"mocha": "1.6.x"
"readme": "tz-lookup\n=========\n\nThis is a little module that allows you to look up the current time zone of a\nlocation, given it's latitude and longitude. I wrote it because the existing\nNode module that does this (`tzwhere`) was far too slow to be useful in a\nproduction setting. This module attempts to ameliorate that.\n\nUsage\n-----\n\nTo install:\n\n npm install tz-lookup\n\nTo use:\n\n > var tz = require(\"tz-lookup\")\n > tz.getTimezone(42.7235, -73.6931, function(err, string) {\n > console.log(string)\n > })\n \"America/New_York (EDT, -0400)\"\n\nThe data file is only loaded on-demand, so the first call to `getTimezone()`\nwill take a while, but subsequent calls will go quite quickly.\n\nIf you only want the offset (in hours), you may call the similar method\n`getTimezoneOffset()`. Same arguments, different return value.\n",
"_id": "tz-lookup@2.2.1",
"_from": "tz-lookup@2.2.x"