Nominatim-JS
Unofficial JS SDK for the Nominatim Open Street Map service that allows geocoding and reverse geocoding
How to use?
First, install the SDK
$ npm install --save nominatim-search
Example with promises
const NominatimJS = ; NominatimJS;
Example with async / await
const NominatimJS = ; { let results = await NominatimJS;}
NOTE: To await the response, the call to the API must be written inside an async function
Example Reverse Geocoding with promises
const NominatimJS = ; NominatimJS;
License
MIT