Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
List of countries and their associated codes
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Something went wrong with that request. Please try again.