ckaatz-here / cc

Country Code utility Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

country-code

NPM version Build Status

Country Code utility Library

Features

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'

About

Country Code utility Library

License:MIT License


Languages

Language:JavaScript 100.0%