@metamask-previews/geolocation-controller@0.1.0-preview-0aca970c8
// Centralised geolocation controller with TTL caching and request deduplication
$ npm install @metamask-previews/geolocation-controller
downloads/wk
7,732
license
MIT
version
0.1.0-preview-0aca970c8
published
Mar 2, 2026
What is @metamask-previews/geolocation-controller?
This package provides a centralized system for managing geolocation requests in MetaMask, with built-in caching and TTL (time-to-live) expiration to avoid redundant lookups. Developers would use it to efficiently retrieve and cache geographic location data while reducing duplicate requests, which is useful for features that need location information without constant re-querying. It's particularly relevant for Ethereum wallet applications that require geolocation functionality with performance optimization.
Links
Keywords
Dependencies (3)
Maintainers
metamaskbot, mcmire