diff options
| author | pridon <[email protected]> | 2022-06-24 19:30:47 +0400 |
|---|---|---|
| committer | pridon <[email protected]> | 2022-06-24 19:30:47 +0400 |
| commit | 8626e2d8e258e11837d27a1e99ef3277e7dfdf3b (patch) | |
| tree | 930adb4c070108adbe709b395959462983da12be /src/countries.ts | |
| parent | d8a686e743f51b20d34bf86d176c1bc1bc8f2e3c (diff) | |
| download | countryfetch-8626e2d8e258e11837d27a1e99ef3277e7dfdf3b.tar.xz countryfetch-8626e2d8e258e11837d27a1e99ef3277e7dfdf3b.zip | |
add top level domain, increase tabularization
Diffstat (limited to 'src/countries.ts')
| -rw-r--r-- | src/countries.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/countries.ts b/src/countries.ts index 4b0a0c9..974edec 100644 --- a/src/countries.ts +++ b/src/countries.ts @@ -108,7 +108,8 @@ export class Countries { region: country.region, subregion: country.subregion, capitalLatLng: country.capitalInfo.latlng.join("/"), - timezones: country.timezones.join("\n\t\t "), + timezones: country.timezones.join("\n\t\t\t "), + tld: country.tld.join(" | "), currencies, languages, }); @@ -134,7 +135,7 @@ export class Countries { const currency = currencies[currencyAbbr]; result.push(`${currency.name} [${currency.symbol}](${currencyAbbr})`); } - return result.join("\n\t\t "); + return result.join("\n\t\t\t "); } private extractLanguages(languages: Languages) { |
