0.2.0 • Published 1 year ago

browser-geo-tz v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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));
0.2.0

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

2 years ago

0.0.7

2 years ago

0.0.5

2 years ago

0.0.6

2 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago