# @metamask/geolocation-controller

> Centralised geolocation controller with TTL caching and request deduplication

Latest version **2.0.0** (published 2026-09-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @metamask/geolocation-controller
pnpm add @metamask/geolocation-controller
yarn add @metamask/geolocation-controller
bun add @metamask/geolocation-controller
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-09-09 |
| First published | 2026-03-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | ^22.14.0 \|\| ^24 |
| Dependencies | 3 |
| Unpacked size | 91 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 421 |
| Maintainers | frederikbolding, metamaskbot, gudahtt, mrten, mcmire, naugtur |
| Keywords | Ethereum, MetaMask |

## Links

- npm: https://www.npmjs.com/package/@metamask/geolocation-controller
- Repository: https://github.com/MetaMask/core
- Homepage: https://github.com/MetaMask/core/tree/main/packages/geolocation-controller#readme
- Issues: https://github.com/MetaMask/core/issues
- npm.io page: https://npm.io/package/@metamask/geolocation-controller

## Dependencies (3)

- [@metamask/messenger](https://npm.io/package/@metamask/messenger.md) ^3.0.0
- [@metamask/base-controller](https://npm.io/package/@metamask/base-controller.md) ^10.0.0
- [@metamask/controller-utils](https://npm.io/package/@metamask/controller-utils.md) ^13.0.0

## Recent versions

- 2.0.0 (latest) — 2026-09-09
- 1.0.0 — 2026-07-31
- 0.1.3 — 2026-05-11
- 0.1.2 — 2026-03-26
- 0.1.1 — 2026-03-06
- 0.1.0 — 2026-03-03

## README

# `@metamask/geolocation-controller`

Centralised geolocation controller with TTL caching and request deduplication.

## Installation

`yarn add @metamask/geolocation-controller`

or

`npm install @metamask/geolocation-controller`

## Contributing

This package is part of a monorepo. Instructions for contributing can be found in the [monorepo README](https://github.com/MetaMask/core#readme).

---
_Source: https://npm.io/package/@metamask/geolocation-controller · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
