List of countries and their associated codes
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
Readme.md
component.json
index.js

Readme.md

countries

An object containing countries keyed by their associated two-letter code.

Installation

$ component install component/countries

API

modules.exports = [
  { name: 'Afghanistan',
    alpha: 'AF',
    alpha3: 'AFG',
    numeric: 4 },
  { name: 'Åland',
    alpha: 'AX',
    alpha3: 'ALA',
    numeric: 248 },
  { name: 'Albania',
    alpha: 'AL',
    alpha3: 'ALB',
    numeric: 8 },
  { name: 'Algeria',
    alpha: 'DZ',
    alpha3: 'DZA',
    numeric: 12 },
...

License

MIT