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' }
 

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.2211latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.2211
1.0.00

Package Sidebar

Install

npm i country-iso-to-coordinates

Weekly Downloads

211

Version

1.0.2

License

MIT

Unpacked Size

18.7 kB

Total Files

6

Last publish

Collaborators

  • martin.avagyan