country-iso-to-coordinates

1.0.2 • Public • Published

Description

Get country latitude and longitude and name based on ISO code.

Example

npm i country-iso-to-coordinates
 
import IsoToLatLong from 'country-iso-to-coordinates';
 
const country = IsoToLatLong['GB'];
 
console.log(country); // { coordinate: [ '55.378051', '-3.435973' ], name: 'United Kingdom' }
 

/country-iso-to-coordinates/

    Package Sidebar

    Install

    npm i country-iso-to-coordinates

    Weekly Downloads

    124

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    18.7 kB

    Total Files

    6

    Last publish

    Collaborators

    • martin.avagyan