將 ISO 3166-1 代碼轉換為 i18n 中的國家/地區名稱

將 ISO 3166-1 alpha-2 或 alpha-3 或數字國家/地區代碼轉換為 i18n 中的國家/地區名稱

目前為 2022-10-03 提交的版本,檢視 最新版本

這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。

  • v0.1 2022-10-05

    return an array if codes=true, instead of string joined with slash

  • v0.1 2022-10-04

    deal num in num2country in case \d or \d\d or int passed in

  • v0.1 2022-10-04

    fix zh-\w\w convertion error in convertlang function
    support return a2/a3/num codes with country name
    slim functions with new code2country function

  • v0.1 2022-10-03

    update function convertlang, support more \w\w-\w\w lang pattern

  • v0.1 2022-10-03

    export functions instead of include them in the anonymous function

  • v0.1 2022-10-03

    update match rule

  • v0.1 2022-10-03