Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marcw/cccn

Country name to country code, in every languages
https://github.com/marcw/cccn

Last synced: 20 days ago
JSON representation

Country name to country code, in every languages

Awesome Lists containing this project

README

        

# CCCN

![Build Status](https://travis-ci.org/marcw/cccn.svg)

Simply convert country names (from nearly every languages) to the corresponding country code.
The country list comes from https://github.com/marcw/country-list.

## Usage

// will return 'FR'
MarcW\CCCN\CCCN::getCountryCode('Fàlâŋnsì');

## License

MIT