# browser-geo-tz

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

Latest version **0.2.3** (published 2026-05-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install browser-geo-tz
pnpm add browser-geo-tz
yarn add browser-geo-tz
bun add browser-geo-tz
```

## Health

**Score 70/100 (B)** — status: stable.

Positive: has types; esm support; no vulnerabilities; has provenance; high maintenance score; high quality score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.2.3 |
| Published | 2026-05-03 |
| First published | 2023-04-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 188 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 38 |
| Author | Kevin Wang |
| Maintainers | kevmo314 |

## Links

- npm: https://www.npmjs.com/package/browser-geo-tz
- Repository: https://github.com/kevmo314/browser-geo-tz
- Homepage: https://github.com/kevmo314/browser-geo-tz#readme
- Issues: https://github.com/kevmo314/browser-geo-tz/issues
- npm.io page: https://npm.io/package/browser-geo-tz

## Dependencies (4)

- [pbf](https://npm.io/package/pbf.md) ^3.2.1
- [geobuf](https://npm.io/package/geobuf.md) ^3.0.2
- [@turf/helpers](https://npm.io/package/@turf/helpers.md) ^7.1.0
- [@turf/boolean-point-in-polygon](https://npm.io/package/@turf/boolean-point-in-polygon.md) ^7.1.0

## Recent versions

- 0.2.3 (latest) — 2026-05-03
- 0.2.1 — 2026-01-01
- 0.2.0 — 2025-01-19
- 0.1.3 — 2024-12-16
- 0.1.2 — 2024-11-29
- 0.1.1 — 2024-11-28
- 0.1.0 — 2024-05-02
- 0.0.7 — 2024-01-05
- 0.0.6 — 2023-11-11
- 0.0.5 — 2023-11-11
- 0.0.4 — 2023-04-29
- 0.0.3 — 2023-04-14
- 0.0.2 — 2023-04-14
- 0.0.1 — 2023-04-14

## README

# browser-geo-tz

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

This is a browser variant of [node-geo-tz](https://github.com/evansiroky/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](https://kevmo314.github.io/browser-geo-tz/).

## Usage

### Unpkg

```html
<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

```bash
npm install browser-geo-tz
```

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

---
_Source: https://npm.io/package/browser-geo-tz · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
