Socket
Socket
Sign inDemoInstall

geo-tz

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geo-tz - npm Package Compare versions

Comparing version 8.0.0 to 8.0.1

20

package.json
{
"name": "geo-tz",
"version": "8.0.0",
"version": "8.0.1",
"description": "A node.js module to find the timezone at specific gps coordinates",

@@ -43,2 +43,20 @@ "keywords": [

"types": "./dist/find-now.d.ts"
},
"./dist/find-1970": {
"main": "./dist/find-1970.js",
"import": "./dist/find-1970.js",
"require": "./dist/find-1970.js",
"types": "./dist/find-1970.d.ts"
},
"./dist/find-all": {
"main": "./dist/find-all.js",
"import": "./dist/find-all.js",
"require": "./dist/find-all.js",
"types": "./dist/find-all.d.ts"
},
"./dist/find-now": {
"main": "./dist/find-now.js",
"import": "./dist/find-now.js",
"require": "./dist/find-now.js",
"types": "./dist/find-now.d.ts"
}

@@ -45,0 +63,0 @@ },

5

README.md

@@ -27,3 +27,3 @@ # node-geo-tz

As of version 8, node-geo-tz offers the ability to choose from the three different timezone boundary products that the [timezone-boudary-builder](https://github.com/evansiroky/timezone-boundary-builder) project produces.
As of version 8, node-geo-tz offers the ability to choose from the three different timezone boundary products that the [timezone-boudary-builder](https://github.com/evansiroky/timezone-boundary-builder) project produces. If using TypeScript, it may be necessary to use the `dist` entry points (see [issue #165](https://github.com/evansiroky/node-geo-tz/issues/165)).

@@ -36,2 +36,3 @@ ### Alike Since 1970 (default)

const { find } = require('geo-tz')
// const { find } = require('geo-tz/dist/find-1970') // TypeScript-compatible import

@@ -49,2 +50,3 @@ find(12.826174, 45.036933) // ['Asia/Riyadh']

const { find } = require('geo-tz/all')
// const { find } = require('geo-tz/dist/find-all') // TypeScript-compatible import

@@ -62,2 +64,3 @@ find(12.826174, 45.036933) // ['Asia/Aden']

const { find } = require('geo-tz/now')
// const { find } = require('geo-tz/dist/find-now') // TypeScript-compatible import

@@ -64,0 +67,0 @@ find(12.826174, 45.036933) // ['Europe/Moscow']

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc