osm-countries-bounds
Package for node.js which contain countries with bounds and bbox in geojson format
View bounds on map
Latest bounds as json
Usage
Install
npm i osm-countries-bounds --save
Use
import {getBoundsOfCountryByIsoAlpha2Code, getBoundsOfCountries} from 'osm-countries-bounds'
console.log(getBoundsOfCountryByIsoAlpha2Code('RU'))
console.log(getBoundsOfCountries())
Update
Which action download poly data from nominatium and great list.json file
npm run update-list
After it you can check result
npm run test
npm run server