1.0.1 • Published 3 years ago

@digitsole/blackburn-iso-3166-dial v1.0.1

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
3 years ago

@digitsole/blackburn-iso-3166-dial

Installation

pnpm install @digitsole/blackburn-iso-3166-dial

Overview

This is a utility to deal with countries.

Structure

PropertyTypeDescription
namestringRefers to the full name of country
alpha2stringRefers to Alpha-2 (two letter) codes from ISO 3166-1
alpha3stringRefers to Alpha-3 (three letter) codes from ISO 3166-1. These codes are synonymous with World Bank Codes
m49intIndicates United Nations Statistics Division M49 numeric codes (nearly synonymous with ISO 3166-1 numeric codes, which are based on UN M49. ISO 3166-1 does not include Channel Islands or Sark)
dialstringCountry code from International Telecommunication Union - Telecommunication Standardization Sector (ITU-T) recommendation E.164, sometimes followed by area code.

Getters

GettersDescription
listGet all countries, without filter

Methods

OptionDescription
onlyWithDialFilter countries to remove those without dial