New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

osm-countries-bounds

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

osm-countries-bounds

Package for node.js which contain countries with bounds and bbox in geojson format

0.1.0
latest
Source
npm
Version published
Weekly downloads
47
-48.35%
Maintainers
1
Weekly downloads
 
Created
Source

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

# manual check result
npm run server
# and open test/polygons-on-map.html in browser

FAQs

Package last updated on 07 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts