JSPM

country-code

0.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 751
  • Score
    100M100P100Q96098F
  • License MIT

Country Data utility Library, ISO Codes etc...

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

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'