country-code
Country Code utility Library
Features
- English
name
of the Country - ISO 3166-1 Country
number
- ISO 3166-3 Country Codes
- ISO 3166-2 Alpha 2 Country Codes
Installation
$ npm install country-code
Usage
var cc = ;cc// { name: 'Algeria',// alpha2: 'DZ',// alpha3: 'DZA',// isoNumeric: '012' } cccountriesDZAname // 'Algeria' cccountriesGBRisoNumeric //'826'