A Utility library for mapping countries, dial codes and their flags in SVG.
$ npm install --save country-flags-dial-code
/**
* Returns a dictionary of countries with their flags, name and codes (E.g)
* {
* "AC": {
* "flag": "<svg xmlns='http:/>..."
* "code": "AC",
* "country": "Ascension Island",
* "dialCode": "+247"
* }
* ...
* }
/**
* Returns the dial code for a given country (E.g)
* "+247"
/**
* Returns the dial code for a given country (E.g)
* "Ascension Island"
/**
* Returns the dial code for a given country (E.g)
* "<svg xmlns='http:/>..."