country-code

Country Data utility Library, ISO Codes etc...

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
country-code
0.0.37 years ago7 years agoMinified + gzip package size for country-code in KB

Readme

country-code
NPM version Build Status
Country Code utility Library

Features

Installation

$ npm install country-code

Usage


```javascript 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' ```