1.0.5 • Published 7 years ago

@geobase/countries-data v1.0.5

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

This library is aimed at providing easy to use country data in JSON format for all programming languages. Feel free to contribute.

Table Of Content

  1. Information
  2. Installation

Information

This library includes information on countries in multiple languages.

Here is a list of information available for countries:

  • ISO 3166-1 alpha-2 Two-letter country codes defined in ISO 3166-1
  • ISO 3166-1 alpha-3 Three-letter country codes defined in ISO 3166-1
  • Names Country name in multiple languages, currently only English, French and German
  • Currency Currency code (eg. EUR)
  • Continent Continent code (eg. EUR)
  • Population
  • Area Area in square KM
  • Capital
  • Coordinates Latitude and Longitude for center as well as North, East, South and West coorinates of bounding box
  • Polygon Shape of the country
  • Time Zone
  • Regions

Here is a list of information available for regions:

  • Names Country name in multiple languages, currently only English, French and German
  • Two letter code Two-letter region codes (eg. CA)
  • Four letter code Four-letter region codes (eg. US-CA)
  • Type Region type (eg. Province, State, Territory, District)
  • Time Zone
  • Coordinates Latitude and Longitude for center as well as North, East, South and West coorinates of bounding box

Installation

JavaScript/Node

To install this library using npm, run the following command:

npm install @geobase/countries-data

PHP

To install this library using composer, run the following command:

composer require geobase/countries-data

Download

Alternatively, you can download the latest release.

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.0

7 years ago