0.0.3 • Published 9 years ago

country-code v0.0.3

Weekly downloads
609
License
MIT
Repository
github
Last release
9 years ago

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'