{"repo":"aceiny/nestjs-nominatim","free":true,"listed":false,"github":"https://github.com/aceiny/nestjs-nominatim","clone":"git clone https://github.com/aceiny/nestjs-nominatim.git","description":"an open source nestjs library to communicate with the nominatim location and geolocation api (or self hosted)","language":"TypeScript","stars":11,"topics":["geocoding-api","lookup","nestjs","nominatim","npm","reverse"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"NestJS Nominatim NestJS module for the Nominatim geocoding API (OpenStreetMap). Forward/reverse geocoding, place lookup, address formatting, and built-in caching — fully typed. Installation Peer dependencies (install the ones you don't already have): Quick Start Basic Setup Async Configuration Use forRootAsync() to resolve config at runtime (e.g. from ConfigService ): Also supports useClass and useExisting — implement the NominatimOptionsFactory interface: Using the Service API Reference Configuration Options Option Type Default Description ---------------- -------------------- ------------------------------------- --------------------------------- baseUrl string https://nominatim.openstreetmap.org Nominatim API base URL language string en Preferred language (ISO 639-1) addressdetails boolean true Include address breakdown timeout number 5000 Request timeout (ms) userAgent string nestjs-nominatim/1.0 User agent string extratags boolean false Include extra OSM tags namedetails boolean false Include multilingual name details cache CacheModuleOptions 1 day TTL, in-memory Cache configuration Service Methods search(query: string): Promise Search for places by name or address. reverse(coordinates: Coordinates): Promise Get location info from coordinates. lookup(osmIds: string[]): Promise Look up places by OSM IDs. healthCheck(): Promise Check API availability. formatLocation(place: NominatimPlace): FormattedAddress Extract structured address components from a place result. Caching ","default_branch":null,"files":null,"tree":[],"storefront":"/r/aceiny","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aceiny/nestjs-nominatim/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}