Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/component/countries
List of countries and their associated codes
https://github.com/component/countries
Last synced: 13 days ago
JSON representation
List of countries and their associated codes
- Host: GitHub
- URL: https://github.com/component/countries
- Owner: component
- Created: 2012-08-17T20:46:34.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-18T16:48:32.000Z (about 12 years ago)
- Last Synced: 2024-05-08T17:16:35.875Z (8 months ago)
- Language: JavaScript
- Size: 136 KB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# countries
An object containing countries keyed by their associated two-letter code.
## Installation
$ component install component/countries
## API
```js
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