0.3.0 • Published 20 days ago

@valkyriestudios/data-countries v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
20 days ago

data-countries

npm npm

Data pack containing a list of all countries.

Installation

Run the following to install the data pack:

npm install --save @valkyriestudios/data-countries

Contents

The data pack contains the following files: | File | Description | Included fields | |------|-------------|-----------------| | raw.json | Full country data pack | name, al2, al3, num, con, tel |

Fields

The following is a description of the fields included in the data pack: | Field | Description | Example | |------|-------------|----------| | name | Name of the country | 'Belgium' | | al2 | Alpha 2 Country Code (ISO-3166-1 alpha-2) | 'BE' | | al3 | Alpha 3 Country Code (ISO-3166-1 alpha-3) | 'BEL' | | num | Numeric Code (ISO-3166-1 numeric) | '056' | | con | Array of Continent codes | ['EU'] | | tel | Array of International country calling codes | ['32'] |

Other data packs

PackageDescription
@valkyriestudios/data-colorsData pack containing a list of all named HTML colors
@valkyriestudios/data-continentsData pack containing a list of all continents
@valkyriestudios/data-timezonesData pack containing a list of all timezones

Contributors

0.3.0

20 days ago

0.2.0

5 months ago

0.1.0

5 months ago