Countries
Countries copied to clipboard
Countries, Languages & Continents data (capital and currency, native name, calling codes).
The new file/dir structure can potentially break things on PHP / Composer package. Need to check it out.
i got error ```bash Fatal error: Uncaught Error: Undefined constant 'JSON_THROW_ON_ERROR' in /var/www/html/vendor/annexare/countries-list/dist/index.php:35 Stack trace: #0 /var/www/html/vendor/annexare/countries-list/dist/index.php(58): Annexare\Countries\load('countries.min.j...') #1 /var/www/html/proxyWorking.php(113): Annexare\Countries\countries() #2 {main} thrown in /var/www/html/vendor/annexare/countries-list/dist/index.php on line 35 ```...
### Use case for the feature For example, `getCountryCode("Cocos (Keeling) Islands")` won't return the correct country code, because of the parentheses in the country name. ### Examples or links The...
### Data changes Current native name for Belarus is "Белару́сь", but actual name of the country is "Беларусь". у́ is just a stressed letter. ### Links & sources Here is...
this feature is a need i think not only on my project; what i did : ```js function getCodeFromName(name: string): keyof typeof continents | boolean { const entry = Object.entries(continents).find(([_,...
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...
Issue #143 Data changes verified [here](https://www.myswitzerland.com/en/planning/about-switzerland/general-facts/money-and-shopping/currency/#:~:text=Please%20note%20that%20Switzerland%20remains,that%20visitors%20may%20compare%20prices.)
### Data changes https://github.com/annexare/Countries/blob/cc382a4045cc7ca1ecd4c479de402dee1ba28929/packages/countries/src/data/countries.ts#L384-L392 The first currency should be `CHF` as it is the official currency. The changes should be reordering: `currency: ['CHF', 'CHE', 'CHW'],` ### Links & sources [Here](https://www.myswitzerland.com/en/planning/about-switzerland/general-facts/money-and-shopping/currency/#:~:text=Please%20note%20that%20Switzerland%20remains,that%20visitors%20may%20compare%20prices.)...
### Data changes Incorrect native word not 'Kâmpŭchéa' it's 'កម្ពុជា' should be ```ts native: 'កម្ពុជា' ``` ### Links & sources Here is a valid source for this change: https://github.com/annexare/Countries/blob/c65b2d6dc8adae8332e3d6b001fae8ff372fdd8e/packages/countries/src/data/countries.ts#L1055
### Use case for the feature Would be nice to have a emoji for languages like we have for countries