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'

    Keywords

    none

    Install

    npm i country-code

    DownloadsWeekly Downloads

    776

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • ckaatz