@digitsole/blackburn-iso-3166-dial
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@digitsole/blackburn-iso-3166-dial

Installation

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

Overview

This is a utility to deal with countries.

Structure

Property Type Description
name string Refers to the full name of country
alpha2 string Refers to Alpha-2 (two letter) codes from ISO 3166-1
alpha3 string Refers to Alpha-3 (three letter) codes from ISO 3166-1. These codes are synonymous with World Bank Codes
m49 int Indicates 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)
dial string Country code from International Telecommunication Union - Telecommunication Standardization Sector (ITU-T) recommendation E.164, sometimes followed by area code.

Getters

Getters Description
list Get all countries, without filter

Methods

Option Description
onlyWithDial Filter countries to remove those without dial

Dependencies (1)

Dev Dependencies (8)

Package Sidebar

Install

npm i @digitsole/blackburn-iso-3166-dial

Weekly Downloads

11

Version

1.0.1

License

UNLICENSED

Unpacked Size

50.2 kB

Total Files

13

Last publish

Collaborators

  • dcorler