Skip to main content

@timharek/nominatim@1.0.0

latest

Tiny module for accessing OpenStreetMaps's Nominatim's API.

Works with
This package works with Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Browsers
JSR Score
100%
Published
5 days ago

Nominatim

Tiny module for accessing [Nominatim]'s API.

Examples

import { coordinatesFromLocationName } from "jsr:@timharek/nominatim";

const coordinates = await coordinatesFromLocationName("bergen");
// Do what you need to

Or the other way around

import { locationFromCoordinates } from "jsr:@timharek/nominatim";

const location = await locationNameFromCoordinates({
  lat: 60.3943055,
  lng: 5.3259192,
});
// Do what you need to

Add Package

deno add @timharek/nominatim

Import symbol

import * as mod from "@timharek/nominatim";

Add Package

npx jsr add @timharek/nominatim

Import symbol

import * as mod from "@timharek/nominatim";

Add Package

yarn dlx jsr add @timharek/nominatim

Import symbol

import * as mod from "@timharek/nominatim";

Add Package

pnpm dlx jsr add @timharek/nominatim

Import symbol

import * as mod from "@timharek/nominatim";

Add Package

bunx jsr add @timharek/nominatim

Import symbol

import * as mod from "@timharek/nominatim";