cloud-regions-country-flags
A library to convert cloud provider regions to locations and emoji flags.
Install
npm install cloud-regions-country-flags --save
Usage
import { getInfo } from 'cloud-regions-country-flags';
getInfo('eu-north-1', 'AWS');
getInfo('us-west2-a', 'GCP');
Parameters
Name | Type | Required | Description |
---|
region | string | true | code of region |
provider | AWS / GCP / Vercel | true | name of provider |
Region Information
Bugs
There has been a lot of copy and pasting of values from various sources to create this utility. If you spot anything that is incorrect please open an issue or PR. Thanks in advance!