country-code

0.0.3 • Public • Published

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'

Readme

Keywords

none

Package Sidebar

Install

npm i country-code

Weekly Downloads

1,126

Version

0.0.3

License

MIT

Last publish

Collaborators

  • ckaatz