Package Exports
- country-code
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (country-code) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
country-code
Country Code utility Library
Features
- English
nameof 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 = require("country-code");
cc.find({name: "Algeria"})
// { name: 'Algeria',
// alpha2: 'DZ',
// alpha3: 'DZA',
// isoNumeric: '012' }
cc.countries.DZA.name // 'Algeria'
cc.countries.GBR.isoNumeric //'826'