country-phone-prefix

1.0.1 • Public • Published

country-phone-prefix

All country prefix codes

Get it from CDN

let cpp = require("country-phone-prefix");
 
console.log(cpp["Russia"]);
    //Object {"iso2":"RU","iso3":"RUS","prefix":"+7"}
 
console.log(cpp["United States of America"]);
    //Object {"iso2":"US","iso3":"USA","prefix":"+1"}
 

Thats all ;)

Readme

Keywords

Package Sidebar

Install

npm i country-phone-prefix

Weekly Downloads

515

Version

1.0.1

License

ISC

Unpacked Size

14.8 kB

Total Files

3

Last publish

Collaborators

  • balazsnemeth88