Socket
Book a DemoInstallSign in
Socket

browser-geo-tz

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

browser-geo-tz

[![npm version](https://img.shields.io/npm/v/browser-geo-tz)](https://www.npmjs.com/package/browser-geo-tz)

0.2.0
latest
npmnpm
Version published
Weekly downloads
1.3K
-47.22%
Maintainers
1
Weekly downloads
 
Created
Source

browser-geo-tz

npm version

This is a browser variant of node-geo-tz. The original library says that the files are too big for the browser. This library takes advantage of HTTP range requests to load the data quickly. Check out the demo.

Usage

Unpkg

<script src="http://unpkg.com/browser-geo-tz@latest/dist/geotz.js"></script>
<script>
  console.log(await GeoTZ.find(37.3861, -122.0839));
</script>

NPM

npm install browser-geo-tz
import GeoTZ from "browser-geo-tz";
console.log(await GeoTZ.find(37.3861, -122.0839));

FAQs

Package last updated on 19 Jan 2025

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.