Location Utils
Installation
Section titled “Installation”pnpm add @theholocron/location-utilsimport { location } from "@theholocron/location-utils";
const coords = await location.getCurrent();console.log(coords.latitude, coords.longitude);This package uses browser-only APIs (navigator.geolocation, navigator.permissions). It will not work in Node.js environments.
The full API reference is generated from the package’s TSDoc comments.