New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@magmacomputing/tempo-plugin-geo

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magmacomputing/tempo-plugin-geo

Tempo community plugin for IP geolocation lookup, browser hardware location services, and coordinate resolution.

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
20
-91.63%
Maintainers
1
Weekly downloads
 
Created
Source

Tempo Plugin

@magmacomputing/tempo-plugin-geo

npm version npm peer dependency version License TypeScript Ready Documentation

A Community plugin for the Tempo library that provides IP geolocation lookup, browser hardware location services, and coordinate resolution.

👉 View the full documentation on our GitHub Pages

Installation

npm install @magmacomputing/tempo-plugin-geo

Usage

Functional Paradigm (Tree-Shakeable)

import { Tempo } from '@magmacomputing/tempo';
import { geoLookup, resolveGeoCoordinates } from '@magmacomputing/tempo-plugin-geo';

// Automatically resolves coordinates via browser hardware GPS or server IP lookup
const geo = await geoLookup();
const t = new Tempo({ geo });

console.log(t.geo?.latitude, t.geo?.longitude);

Fluent OOP Paradigm

import { Tempo } from '@magmacomputing/tempo';
import { GeoPlugin } from '@magmacomputing/tempo-plugin-geo';

Tempo.use(GeoPlugin);

const t = new Tempo();

// Resolve coordinates asynchronously and return a new enriched Tempo instance
const localTime = await t.geoLocate();
console.log(localTime.geo?.latitude, localTime.geo?.longitude);

Documentation

For full API reference and configuration options, please visit the official Geo Plugin Documentation ↗.

Licensing

This is a Community plugin. It is completely free and open-source for personal and commercial use under the MIT license.

Keywords

tempo

FAQs

Package last updated on 07 Sep 2026

Related posts