Greasy Fork is available in English.

Country Code

ISO 3166-1 alpha-2

Skrip ini tidak untuk dipasang secara langsung. Ini adalah pustaka skrip lain untuk disertakan dengan direktif meta // @require https://update.greasyfork.org/scripts/465957/1188611/Country%20Code.js

Penulis
schimon
Versi
23.04
Dibuat
10 Mei 2023
Diperbarui
10 Mei 2023
Lisensi
MIT

Usage:

countryCode["DE"] // "Germany"

Example:

nationCode = "de"
countryCode[nationCode] // undefined

Solution:

nationCode = nationCode.toUpperCase()
countryCode[nationCode] // "Germany"