Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

locale-codes

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

locale-codes

Language codes & country codes

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17K
increased by13.83%
Maintainers
1
Weekly downloads
 
Created
Source

Locale Codes

Node Version Downloads Travis

Language codes & country codes

Installation

Module available through the npm registry. It can be installed using the npm or yarn command line tools.

# NPM
npm install locale-codes --save
# Or Using Yarn
yarn add locale-codes

Example

const locale = require('locale-codes')

locale.all // [language: '...]
locale.getByTag('pt-br').name // 'Portuguese'

Documentation

API

locale.all

All languages

locale.where(key, text)

Get information

  • name - Language name (String)
  • location - Location country (String || Null)
  • tag - LCID tag (String)
  • lcid - LCID id (Number)
  • iso639-2 - ISO 639-2 id (String)
  • iso639-1 - ISO 639-1 id (String || Null)
Shortcuts
  • getByName(text) = where('name', text)
  • getByLocation(text) = where('location', text)
  • getByTag(text) = where('tag', text)
  • getByLCID(lcid) = where('lcid', id)
  • getByISO6392(text) = where('iso639-2', text)
  • getByISO6391(text) = where('iso639-1', text)

Locale List

NameLocationTagLCIDISO 639-2 IDISO 639-1 ID
Afarnullaa4096aaraa
AfarDjiboutiaa-DJ4096aaraa
AfarEritreaaa-ER4096aaraa
AfarEthiopiaaa-ET4096aaraa
Afrikaansnullaf54afraf
AfrikaansNamibiaaf-NA4096afraf
AfrikaansSouth Africaaf-ZA1078afraf
Aghemnullagq4096nullnull
AghemCameroonagq-CM4096nullnull
Akannullak4096akaak
AkanGhanaak-GH4096akaak
Albaniannullsq28alb/sqisq
AlbanianAlbaniasq-AL1052alb/sqisq
AlbanianNorth Macedoniasq-MK4096alb/sqisq
Alsatiannullgsw132gswnull
AlsatianFrancegsw-FR1156gswnull
AlsatianLiechtensteingsw-LI4096gswnull
AlsatianSwitzerlandgsw-CH4096gswnull
Amharicnullam94amham
AmharicEthiopiaam-ET1118amham
Arabicnullar1araar
ArabicAlgeriaar-DZ5121araar
ArabicBahrainar-BH15361araar
ArabicChadar-TD4096araar
ArabicComorosar-KM4096araar
ArabicDjiboutiar-DJ4096araar
ArabicEgyptar-EG3073araar
ArabicEritreaar-ER4096araar
ArabicIraqar-IQ2049araar
ArabicIsraelar-IL4096araar
ArabicJordanar-JO11265araar
ArabicKuwaitar-KW13313araar
ArabicLebanonar-LB12289araar
ArabicLibyaar-LY4097araar
ArabicMauritaniaar-MR4096araar
ArabicMoroccoar-MA6145araar
ArabicOmanar-OM8193araar
ArabicPalestinian Authorityar-PS4096araar
ArabicQatarar-QA16385araar
ArabicSaudi Arabiaar-SA1025araar
ArabicSomaliaar-SO4096araar
ArabicSouth Sudanar-SS4096araar
ArabicSudanar-SD4096araar
ArabicSyriaar-SY10241araar
ArabicTunisiaar-TN7169araar
ArabicU.A.E.ar-AE14337araar
ArabicWorldar-0014096araar
ArabicYemenar-YE9217araar
Armeniannullhy43arm/hyehy
ArmenianArmeniahy-AM1067arm/hyehy
Assamesenullas77asmas
AssameseIndiaas-IN1101asmas
Asturiannullast4096astnull
AsturianSpainast-ES4096astnull
Asunullasa4096nullnull
AsuTanzaniaasa-TZ4096nullnull
Azerbaijani (Cyrillic)nullaz-Cyrl29740nullnull
Azerbaijani (Cyrillic)Azerbaijanaz-Cyrl-AZ2092nullnull
Azerbaijani (Latin)nullaz44nullnull
Azerbaijani (Latin)nullaz-Latn30764nullnull
Azerbaijani (Latin)Azerbaijanaz-Latn-AZ1068nullnull
Bafianullksf4096nullnull
BafiaCameroonksf-CM4096nullnull
Bamanankannullbm4096nullnull
Bamanankan (Latin)Malibm-Latn-ML4096nullnull
Banglanullbn69nullnull
BanglaBangladeshbn-BD2117nullnull
BanglaIndiabn-IN1093nullnull
Basaanullbas4096nullnull
BasaaCameroonbas-CM4096nullnull
Bashkirnullba109bakba
BashkirRussiaba-RU1133bakba
Basquenulleu45baq/euseu
BasqueSpaineu-ES1069baq/euseu
Belarusiannullbe35belbe
BelarusianBelarusbe-BY1059belbe
Bembanullbem4096bemnull
BembaZambiabem-ZM4096bemnull
Benanullbez4096nullnull
BenaTanzaniabez-TZ4096nullnull
Blinnullbyn4096bynnull
BlinEritreabyn-ER4096bynnull
Bodonullbrx4096nullnull
BodoIndiabrx-IN4096nullnull
Bosnian (Cyrillic)nullbs-Cyrl25626nullnull
Bosnian (Cyrillic)Bosnia and Herzegovinabs-Cyrl-BA8218nullnull
Bosnian (Latin)nullbs-Latn26650nullnull
Bosnian (Latin)nullbs30746nullnull
Bosnian (Latin)Bosnia and Herzegovinabs-Latn-BA5146nullnull
Bretonnullbr126brebr
BretonFrancebr-FR1150brebr
Bulgariannullbg2bulbg
BulgarianBulgariabg-BG1026bulbg
Burmesenullmy85bur/myamy
BurmeseMyanmarmy-MM1109bur/myamy
Catalannullca3catca
CatalanAndorraca-AD4096catca
CatalanFranceca-FR4096catca
CatalanItalyca-IT4096catca
CatalanSpainca-ES1027catca
Central Atlas TamazightMoroccotzm-Latn-4096nullnull
Central Kurdishnullku146nullnull
Central Kurdishnullku-Arab31890nullnull
Central KurdishIraqku-Arab-IQ1170nullnull
ChechenRussiacd-RU4096chece
Cherokeenullchr92chrnull
Cherokeenullchr-Cher31836chrnull
CherokeeUnited Stateschr-Cher-US1116chrnull
Chiganullcgg4096nullnull
ChigaUgandacgg-UG4096nullnull
Chinese (Simplified)nullzh-Hans4nullnull
Chinese (Simplified)nullzh30724nullnull
Chinese (Simplified)People's Republic of Chinazh-CN2052nullnull
Chinese (Simplified)Singaporezh-SG4100nullnull
Chinese (Traditional)nullzh-Hant31748nullnull
Chinese (Traditional)Hong Kong S.A.R.zh-HK3076nullnull
Chinese (Traditional)Macao S.A.R.zh-MO5124nullnull
Chinese (Traditional)Taiwanzh-TW1028nullnull
Church SlavicRussiacu-RU4096chucu
Congo Swahilinullswc4096nullnull
Congo SwahiliCongo DRCswc-CD4096nullnull
Cornishnullkw4096corkw
CornishUnited Kingdomkw-GB4096corkw
Corsicannullco131cosco
CorsicanFranceco-FR1155cosco
Croatiannullhr,26hrvhr
CroatianCroatiahr-HR1050hrvhr
Croatian (Latin)Bosnia and Herzegovinahr-BA4122nullnull
Czechnullcs5cze/cescs
CzechCzech Republiccs-CZ1029cze/cescs
Danishnullda6danda
DanishDenmarkda-DK1030danda
DanishGreenlandda-GL4096danda
Darinullprs140nullnull
DariAfghanistanprs-AF1164nullnull
Divehinulldv101divdv
DivehiMaldivesdv-MV1125divdv
Dualanulldua4096duanull
DualaCameroondua-CM4096duanull
Dutchnullnl19dut/nldnl
DutchArubanl-AW4096dut/nldnl
DutchBelgiumnl-BE2067dut/nldnl
DutchBonaire, Sint Eustatius and Sabanl-BQ4096dut/nldnl
DutchCuraçaonl-CW4096dut/nldnl
DutchNetherlandsnl-NL1043dut/nldnl
DutchSint Maartennl-SX4096dut/nldnl
DutchSurinamenl-SR4096dut/nldnl
Dzongkhanulldz4096dzodz
DzongkhaBhutandz-BT3153dzodz
Embunullebu4096nullnull
EmbuKenyaebu-KE4096nullnull
Englishnullen9engen
EnglishAmerican Samoaen-AS4096engen
EnglishAnguillaen-AI4096engen
EnglishAntigua and Barbudaen-AG4096engen
EnglishAustraliaen-AU3081engen
EnglishAustriaen-AT4096engen
EnglishBahamasen-BS4096engen
EnglishBarbadosen-BB4096engen
EnglishBelgiumen-BE4096engen
EnglishBelizeen-BZ10249engen
EnglishBermudaen-BM4096engen
EnglishBotswanaen-BW4096engen
EnglishBritish Indian Ocean Territoryen-IO4096engen
EnglishBritish Virgin Islandsen-VG4096engen
EnglishBurundien-BI4096engen
EnglishCameroonen-CM4096engen
EnglishCanadaen-CA4105engen
EnglishCaribbeanen-0299225engen
EnglishCayman Islandsen-KY4096engen
EnglishChristmas Islanden-CX4096engen
EnglishCocos [Keeling] Islandsen-CC4096engen
EnglishCook Islandsen-CK4096engen
EnglishCyprusen-CY4096engen
EnglishDenmarken-DK4096engen
EnglishDominicaen-DM4096engen
EnglishEritreaen-ER4096engen
EnglishEuropeen-1504096engen
EnglishFalkland Islandsen-FK4096engen
EnglishFinlanden-FI4096engen
EnglishFijien-FJ4096engen
EnglishGambiaen-GM4096engen
EnglishGermanyen-DE4096engen
EnglishGhanaen-GH4096engen
EnglishGibraltaren-GI4096engen
EnglishGrenadaen-GD4096engen
EnglishGuamen-GU4096engen
EnglishGuernseyen-GG4096engen
EnglishGuyanaen-GY4096engen
EnglishHong Kongen-HK15369engen
EnglishIndiaen-IN16393engen
EnglishIrelanden-IE6153engen
EnglishIsle of Manen-IM4096engen
EnglishIsraelen-IL4096engen
EnglishJamaicaen-JM8201engen
EnglishJerseyen-JE4096engen
EnglishKenyaen-KE4096engen
EnglishKiribatien-KI4096engen
EnglishLesothoen-LS4096engen
EnglishLiberiaen-LR4096engen
EnglishMacao SARen-MO4096engen
EnglishMadagascaren-MG4096engen
EnglishMalawien-MW4096engen
EnglishMalaysiaen-MY17417engen
EnglishMaltaen-MT4096engen
EnglishMarshall Islandsen-MH4096engen
EnglishMauritiusen-MU4096engen
EnglishMicronesiaen-FM4096engen
EnglishMontserraten-MS4096engen
EnglishNamibiaen-NA4096engen
EnglishNauruen-NR4096engen
EnglishNetherlandsen-NL4096engen
EnglishNew Zealanden-NZ5129engen
EnglishNigeriaen-NG4096engen
EnglishNiueen-NU4096engen
EnglishNorfolk Islanden-NF4096engen
EnglishNorthern Mariana Islandsen-MP4096engen
EnglishPakistanen-PK4096engen
EnglishPalauen-PW4096engen
EnglishPapua New Guineaen-PG4096engen
EnglishPitcairn Islandsen-PN4096engen
EnglishPuerto Ricoen-PR4096engen
EnglishRepublic of the Philippinesen-PH13321engen
EnglishRwandaen-RW4096engen
EnglishSaint Kitts and Nevisen-KN4096engen
EnglishSaint Luciaen-LC4096engen
EnglishSaint Vincent and the Grenadinesen-VC4096engen
EnglishSamoaen-WS4096engen
EnglishSeychellesen-SC4096engen
EnglishSierra Leoneen-SL4096engen
EnglishSingaporeen-SG18441engen
EnglishSint Maartenen-SX4096engen
EnglishSloveniaen-SI4096engen
EnglishSolomon Islandsen-SB4096engen
EnglishSouth Africaen-ZA7177engen
EnglishSouth Sudanen-SS4096engen
EnglishSt Helena, Ascension, Tristan daen-SH4096engen
EnglishSudanen-SD4096engen
EnglishSwazilanden-SZ4096engen
EnglishSwedenen-SE4096engen
EnglishSwitzerlanden-CH4096engen
EnglishTanzaniaen-TZ4096engen
EnglishTokelauen-TK4096engen
EnglishTongaen-TO4096engen
EnglishTrinidad and Tobagoen-TT11273engen
EnglishTurks and Caicos Islandsen-TC4096engen
EnglishTuvaluen-TV4096engen
EnglishUgandaen-UG4096engen
EnglishUnited Kingdomen-GB2057engen
EnglishUnited Statesen-US1033engen
EnglishUS Minor Outlying Islandsen-UM4096engen
EnglishUS Virgin Islandsen-VI4096engen
EnglishVanuatuen-VU4096engen
EnglishWorlden-0014096engen
EnglishZambiaen-ZM4096engen
EnglishZimbabween-ZW12297engen
Esperantonulleo4096epoeo
EsperantoWorldeo-0014096epoeo
Estoniannullet37estet
EstonianEstoniaet-EE1061estet
Ewenullee4096eweee
EweGhanaee-GH4096eweee
EweTogoee-TG4096eweee
Ewondonullewo4096ewonull
EwondoCameroonewo-CM4096ewonull
Faroesenullfo56faofo
FaroeseDenmarkfo-DK4096faofo
FaroeseFaroe Islandsfo-FO1080faofo
Filipinonullfil100filnull
FilipinoPhilippinesfil-PH1124filnull
Finnishnullfi11finfi
FinnishFinlandfi-FI1035finfi
Frenchnullfr12fre/frafr
FrenchAlgeriafr-DZ4096fre/frafr
FrenchBelgiumfr-BE2060fre/frafr
FrenchBeninfr-BJ4096fre/frafr
FrenchBurkina Fasofr-BF4096fre/frafr
FrenchBurundifr-BI4096fre/frafr
FrenchCameroonfr-CM11276fre/frafr
FrenchCanadafr-CA3084fre/frafr
FrenchCentral African Republicfr-CF4096fre/frafr
FrenchChadfr-TD4096fre/frafr
FrenchComorosfr-KM4096fre/frafr
FrenchCongofr-CG4096fre/frafr
FrenchCongo, DRCfr-CD9228fre/frafr
FrenchCôte d'Ivoirefr-CI12300fre/frafr
FrenchDjiboutifr-DJ4096fre/frafr
FrenchEquatorial Guineafr-GQ4096fre/frafr
FrenchFrancefr-FR1036fre/frafr
FrenchFrench Guianafr-GF4096fre/frafr
FrenchFrench Polynesiafr-PF4096fre/frafr
FrenchGabonfr-GA4096fre/frafr
FrenchGuadeloupefr-GP4096fre/frafr
FrenchGuineafr-GN4096fre/frafr
FrenchHaitifr-HT15372fre/frafr
FrenchLuxembourgfr-LU5132fre/frafr
FrenchMadagascarfr-MG4096fre/frafr
FrenchMalifr-ML13324fre/frafr
FrenchMartiniquefr-MQ4096fre/frafr
FrenchMauritaniafr-MR4096fre/frafr
FrenchMauritiusfr-MU4096fre/frafr
FrenchMayottefr-YT4096fre/frafr
FrenchMoroccofr-MA14348fre/frafr
FrenchNew Caledoniafr-NC4096fre/frafr
FrenchNigerfr-NE4096fre/frafr
FrenchPrincipality of Monacofr-MC6156fre/frafr
FrenchReunionfr-RE8204fre/frafr
FrenchRwandafr-RW4096fre/frafr
FrenchSaint Barthélemyfr-BL4096fre/frafr
FrenchSaint Martinfr-MF4096fre/frafr
FrenchSaint Pierre and Miquelonfr-PM4096fre/frafr
FrenchSenegalfr-SN10252fre/frafr
FrenchSeychellesfr-SC4096fre/frafr
FrenchSwitzerlandfr-CH4108fre/frafr
FrenchSyriafr-SY4096fre/frafr
FrenchTogofr-TG4096fre/frafr
FrenchTunisiafr-TN4096fre/frafr
FrenchVanuatufr-VU4096fre/frafr
FrenchWallis and Futunafr-WF4096fre/frafr
Frisiannullfy98nullnull
FrisianNetherlandsfy-NL1122nullnull
Friuliannullfur4096furnull
FriulianItalyfur-IT4096furnull
Fulahnullff103fulff
Fulah (Latin)nullff-Latn31847nullnull
Fulah (Latin)Burkina Fasoff-Latn-BF4096nullnull
FulahCameroonff-CM4096fulff
Fulah (Latin)Cameroonff-Latn-CM4096nullnull
Fulah (Latin)Gambiaff-Latn-GM4096nullnull
Fulah (Latin)Ghanaff-Latn-GH4096nullnull
FulahGuineaff-GN4096fulff
Fulah (Latin)Guineaff-Latn-GN4096nullnull
Fulah (Latin)Guinea-Bissauff-Latn-GW4096nullnull
Fulah (Latin)Liberiaff-Latn-LR4096nullnull
FulahMauritaniaff-MR4096fulff
Fulah (Latin)Mauritaniaff-Latn-MR4096nullnull
Fulah (Latin)Nigerff-Latn-NE4096nullnull
FulahNigeriaff-NG4096fulff
Fulah (Latin)Nigeriaff-Latn-NG4096nullnull
FulahSenegalff-Latn-SN2151fulff
Fulah (Latin)Sierra Leoneff-Latn-SL4096nullnull
Galiciannullgl86glggl
GalicianSpaingl-ES1110glggl
Gandanulllg4096luglg
GandaUgandalg-UG4096luglg
Georgiannullka55geo/katka
GeorgianGeorgiaka-GE1079geo/katka
Germannullde7ger/deude
GermanAustriade-AT3079ger/deude
GermanBelgiumde-BE4096ger/deude
GermanGermanyde-DE1031ger/deude
GermanItalyde-IT4096ger/deude
GermanLiechtensteinde-LI5127ger/deude
GermanLuxembourgde-LU4103ger/deude
GermanSwitzerlandde-CH2055ger/deude
Greeknullel8nullnull
GreekCyprusel-CY4096nullnull
GreekGreeceel-GR1032nullnull
Greenlandicnullkl111kalkl
GreenlandicGreenlandkl-GL1135kalkl
Guaraninullgn116grngn
GuaraniParaguaygn-PY1140grngn
Gujaratinullgu71gujgu
GujaratiIndiagu-IN1095gujgu
Gusiinullguz4096nullnull
GusiiKenyaguz-KE4096nullnull
Hausa (Latin)nullha104nullnull
Hausa (Latin)nullha-Latn31848nullnull
Hausa (Latin)Ghanaha-Latn-GH4096nullnull
Hausa (Latin)Nigerha-Latn-NE4096nullnull
Hausa (Latin)Nigeriaha-Latn-NG1128nullnull
Hawaiiannullhaw117hawnull
HawaiianUnited Stateshaw-US1141hawnull
Hebrewnullhe13hebhe
HebrewIsraelhe-IL1037hebhe
Hindinullhi57hinhi
HindiIndiahi-IN1081hinhi
Hungariannullhu14hunhu
HungarianHungaryhu-HU1038hunhu
Icelandicnullis15ice/islis
IcelandicIcelandis-IS1039ice/islis
Igbonullig112iboig
IgboNigeriaig-NG1136iboig
Indonesiannullid33indid
IndonesianIndonesiaid-ID1057indid
Interlinguanullia4096nullnull
InterlinguaFranceia-FR4096nullnull
InterlinguaWorldia-0014096nullnull
Inuktitut (Latin)nulliu93nullnull
Inuktitut (Latin)nulliu-Latn31837nullnull
Inuktitut (Latin)Canadaiu-Latn-CA2141nullnull
Inuktitut (Syllabics)nulliu-Cans30813nullnull
Inuktitut (Syllabics)Canadaiu-Cans-CA1117nullnull
Irishnullga60glega
IrishIrelandga-IE2108glega
Italiannullit16itait
ItalianItalyit-IT1040itait
ItalianSan Marinoit-SM4096itait
ItalianSwitzerlandit-CH2064itait
ItalianVatican Cityit-VA4096itait
Japanesenullja17jpnja
JapaneseJapanja-JP1041jpnja
Javanesenulljv4096javjv
JavaneseLatinjv-Latn4096javjv
JavaneseLatin, Indonesiajv-Latn-ID4096javjv
Jola-Fonyinulldyo4096nullnull
Jola-FonyiSenegaldyo-SN4096nullnull
Kabuverdianunullkea4096nullnull
KabuverdianuCabo Verdekea-CV4096nullnull
Kabylenullkab4096kabnull
KabyleAlgeriakab-DZ4096kabnull
Kakonullkkj4096nullnull
KakoCameroonkkj-CM4096nullnull
Kalenjinnullkln4096nullnull
KalenjinKenyakln-KE4096nullnull
Kambanullkam4096kamnull
KambaKenyakam-KE4096kamnull
Kannadanullkn75kankn
KannadaIndiakn-IN1099kankn
Kashmirinullks96kasks
KashmiriPerso-Arabicks-Arab1120kasks
KashmiriPerso-Arabicks-Arab-IN4096kasks
Kazakhnullkk63kazkk
KazakhKazakhstankk-KZ1087kazkk
Khmernullkm83nullnull
KhmerCambodiakm-KH1107nullnull
K'ichenullquc134nullnull
K'icheGuatemalaquc-Latn-GT1158nullnull
Kikuyunullki4096kikki
KikuyuKenyaki-KE4096kikki
Kinyarwandanullrw135kinrw
KinyarwandaRwandarw-RW1159kinrw
Kiswahilinullsw65nullnull
KiswahiliKenyasw-KE1089nullnull
KiswahiliTanzaniasw-TZ4096nullnull
KiswahiliUgandasw-UG4096nullnull
Konkaninullkok87koknull
KonkaniIndiakok-IN1111koknull
Koreannullko18korko
KoreanKoreako-KR1042korko
KoreanNorth Koreako-KP4096korko
Koyra Chiininullkhq4096nullnull
Koyra ChiiniMalikhq-ML4096nullnull
Koyraboro Senninullses4096nullnull
Koyraboro SenniMalises-ML4096nullnull
Kwasionullnmg4096nullnull
KwasioCameroonnmg-CM4096nullnull
Kyrgyznullky64kirky
KyrgyzKyrgyzstanky-KG1088kirky
KurdishPerso-Arabic, Iranku-Arab-IR4096kurku
Lakotanulllkt4096nullnull
LakotaUnited Stateslkt-US4096nullnull
Langinulllag4096nullnull
LangiTanzanialag-TZ4096nullnull
Laonulllo84laolo
LaoLao P.D.R.lo-LA1108laolo
Latviannulllv38lavlv
LatvianLatvialv-LV1062lavlv
Lingalanullln4096linln
LingalaAngolaln-AO4096linln
LingalaCentral African Republicln-CF4096linln
LingalaCongoln-CG4096linln
LingalaCongo DRCln-CD4096linln
Lithuaniannulllt39litlt
LithuanianLithuanialt-LT1063litlt
Low Germannullnds4096ndsnull
Low GermanGermanynds-DE4096nullnull
Low GermanNetherlandsnds-NL4096ndsnull
Lower Sorbiannulldsb31790dsbnull
Lower SorbianGermanydsb-DE2094dsbnull
Luba-Katanganulllu4096lublu
Luba-KatangaCongo DRClu-CD4096lublu
Luonullluo4096nullnull
LuoKenyaluo-KE4096nullnull
Luxembourgishnulllb110ltzlb
LuxembourgishLuxembourglb-LU1134ltzlb
Luyianullluy4096nullnull
LuyiaKenyaluy-KE4096nullnull
Macedoniannullmk47mac/mkdmk
MacedonianNorth Macedoniamk-MK1071mac/mkdmk
Machamenulljmc4096nullnull
MachameTanzaniajmc-TZ4096nullnull
Makhuwa-Meettonullmgh4096nullnull
Makhuwa-MeettoMozambiquemgh-MZ4096nullnull
Makondenullkde4096nullnull
MakondeTanzaniakde-TZ4096nullnull
Malagasynullmg4096mlgmg
MalagasyMadagascarmg-MG4096mlgmg
Malaynullms62may/msams
MalayBrunei Darussalamms-BN2110may/msams
MalayMalaysiams-MY1086may/msams
Malayalamnullml76malml
MalayalamIndiaml-IN1100malml
Maltesenullmt58mltmt
MalteseMaltamt-MT1082mltmt
Manxnullgv4096glvgv
ManxIsle of Mangv-IM4096glvgv
Maorinullmi129mao/mrimi
MaoriNew Zealandmi-NZ1153mao/mrimi
Mapudungunnullarn122arnnull
MapudungunChilearn-CL1146arnnull
Marathinullmr78marmr
MarathiIndiamr-IN1102marmr
Masainullmas4096masnull
MasaiKenyamas-KE4096masnull
MasaiTanzaniamas-TZ4096masnull
MazanderaniIranmzn-IR4096nullnull
Merunullmer4096nullnull
MeruKenyamer-KE4096nullnull
Meta'nullmgo4096nullnull
Meta'Cameroonmgo-CM4096nullnull
Mohawknullmoh124mohnull
MohawkCanadamoh-CA1148mohnull
Mongolian (Cyrillic)nullmn80nullnull
Mongolian (Cyrillic)nullmn-Cyrl30800nullnull
Mongolian (Cyrillic)Mongoliamn-MN1104nullnull
Mongolian (Traditionalnullmn-Mong31824nullnull
Mongolian (TraditionalMongoliamn-Mong-3152nullnull
Morisyennullmfe4096nullnull
MorisyenMauritiusmfe-MU4096nullnull
Mundangnullmua4096nullnull
MundangCameroonmua-CM4096nullnull
N'konullnqo4096nqonull
N'koGuineanqo-GN4096nqonull
Namanullnaq4096nullnull
NamaNamibianaq-NA4096nullnull
Nepalinullne97nepne
NepaliIndiane-IN2145nepne
NepaliNepalne-NP1121nepne
Ngiemboonnullnnh4096nullnull
NgiemboonCameroonnnh-CM4096nullnull
Ngombanulljgo4096nullnull
NgombaCameroonjgo-CM4096nullnull
Northern LuriIraqlrc-IQ4096nullnull
Northern LuriIranlrc-IR4096nullnull
North Ndebelenullnd4096ndend
North NdebeleZimbabwend-ZW4096ndend
Norwegian (Bokmal)nullno20nullnull
Norwegian (Bokmal)nullnb31764nullnull
Norwegian (Bokmal)Norwaynb-NO1044nullnull
Norwegian (Nynorsk)nullnn30740nullnull
Norwegian (Nynorsk)Norwaynn-NO2068nullnull
Norwegian BokmålSvalbard and Jan Mayennb-SJ4096nobnb
Nuernullnus4096nullnull
NuerSudannus-SD4096nullnull
NuerSouth Sudannus-SS4096nullnull
Nyankolenullnyn4096nynnull
NyankoleUgandanyn-UG4096nynnull
Occitannulloc130nullnull
OccitanFranceoc-FR1154nullnull
Odianullor72nullnull
OdiaIndiaor-IN1096nullnull
Oromonullom114ormom
OromoEthiopiaom-ET1138ormom
OromoKenyaom-KE4096ormom
Ossetiannullos4096ossos
OssetianCyrillic, Georgiaos-GE4096ossos
OssetianCyrillic, Russiaos-RU4096ossos
Pashtonullps99pusps
PashtoAfghanistanps-AF1123pusps
Persiannullfa41per/fasfa
PersianAfghanistanfa-AF4096per/fasfa
PersianIranfa-IR1065per/fasfa
Polishnullpl21polpl
PolishPolandpl-PL1045polpl
Portuguesenullpt22porpt
PortugueseAngolapt-AO4096porpt
PortugueseBrazilpt-BR1046porpt
PortugueseCabo Verdept-CV4096porpt
PortugueseEquatorial Guineapt-GQ4096porpt
PortugueseGuinea-Bissaupt-GW4096porpt
PortugueseLuxembourgpt-LU4096porpt
PortugueseMacao SARpt-MO4096porpt
PortugueseMozambiquept-MZ4096porpt
PortuguesePortugalpt-PT2070porpt
PortugueseSão Tomé and Príncipept-ST4096porpt
PortugueseSwitzerlandpt-CH4096porpt
PortugueseTimor-Lestept-TL4096porpt
Prussiannullprg-0014096nullnull
Pseudo LanguagePseudo locale for east Asian/complexqps-ploca1534nullnull
Pseudo LanguagePseudo locale used for localizationqps-ploc1281nullnull
Pseudo LanguagePseudo locale used for localizationqps-plocm2559nullnull
Punjabinullpa70panpa
Punjabinullpa-Arab31814panpa
PunjabiIndiapa-IN1094panpa
PunjabiIslamic Republic of Pakistanpa-Arab-PK2118panpa
Quechuanullquz107quequ
QuechuaBoliviaquz-BO1131quequ
QuechuaEcuadorquz-EC2155quequ
QuechuaPeruquz-PE3179quequ
Ripuariannullksh4096nullnull
RipuarianGermanyksh-DE4096nullnull
Romaniannullro24rum/ronro
RomanianMoldovaro-MD2072rum/ronro
RomanianRomaniaro-RO1048rum/ronro
Romanshnullrm23rohrm
RomanshSwitzerlandrm-CH1047rohrm
Rombonullrof4096nullnull
RomboTanzaniarof-TZ4096nullnull
Rundinullrn4096runrn
RundiBurundirn-BI4096runrn
Russiannullru25rusru
RussianBelarusru-BY4096rusru
RussianKazakhstanru-KZ4096rusru
RussianKyrgyzstanru-KG4096rusru
RussianMoldovaru-MD2073rusru
RussianRussiaru-RU1049rusru
RussianUkraineru-UA4096rusru
Rwanullrwk4096nullnull
RwaTanzaniarwk-TZ4096nullnull
Sahonullssy4096nullnull
SahoEritreassy-ER4096nullnull
Sakhanullsah133nullnull
SakhaRussiasah-RU1157nullnull
Samburunullsaq4096nullnull
SamburuKenyasaq-KE4096nullnull
Sami (Inari)nullsmn28731nullnull
Sami (Inari)Finlandsmn-FI9275nullnull
Sami (Lule)nullsmj31803nullnull
Sami (Lule)Norwaysmj-NO4155nullnull
Sami (Lule)Swedensmj-SE5179nullnull
Sami (Northern)nullse59nullnull
Sami (Northern)Finlandse-FI3131nullnull
Sami (Northern)Norwayse-NO1083nullnull
Sami (Northern)Swedense-SE2107nullnull
Sami (Skolt)nullsms29755nullnull
Sami (Skolt)Finlandsms-FI8251nullnull
Sami (Southern)nullsma30779nullnull
Sami (Southern)Norwaysma-NO6203nullnull
Sami (Southern)Swedensma-SE7227nullnull
Sangonullsg4096sagsg
SangoCentral African Republicsg-CF4096sagsg
Sangunullsbp4096nullnull
SanguTanzaniasbp-TZ4096nullnull
Sanskritnullsa79sansa
SanskritIndiasa-IN1103sansa
Scottish Gaelicnullgd145glagd
Scottish GaelicUnited Kingdomgd-GB1169glagd
Senanullseh4096nullnull
SenaMozambiqueseh-MZ4096nullnull
Serbian (Cyrillic)nullsr-Cyrl27674nullnull
Serbian (Cyrillic)Bosnia and Herzegovinasr-Cyrl-BA7194nullnull
Serbian (Cyrillic)Montenegrosr-Cyrl-ME12314nullnull
Serbian (Cyrillic)Serbiasr-Cyrl-RS10266nullnull
Serbian (Cyrillic)Serbia and Montenegro (Former)sr-Cyrl-CS3098nullnull
Serbian (Latin)nullsr-Latn28698nullnull
Serbian (Latin)nullsr31770nullnull
Serbian (Latin)Bosnia and Herzegovinasr-Latn-BA6170nullnull
Serbian (Latin)Montenegrosr-Latn-ME11290nullnull
Serbian (Latin)Serbiasr-Latn-RS9242nullnull
Serbian (Latin)Serbia and Montenegro (Former)sr-Latn-CS2074nullnull
Sesotho sa Leboanullnso108nullnull
Sesotho sa LeboaSouth Africanso-ZA1132nullnull
Setswananulltn50nullnull
SetswanaBotswanatn-BW2098nullnull
SetswanaSouth Africatn-ZA1074nullnull
Shambalanullksb4096nullnull
ShambalaTanzaniaksb-TZ4096nullnull
Shonanullsn4096snasn
ShonaLatinsn-Latn4096snasn
ShonaZimbabwesn-Latn-ZW4096snasn
Sindhinullsd89sndsd
Sindhinullsd-Arab31833sndsd
SindhiIslamic Republic of Pakistansd-Arab-PK2137sndsd
Sinhalanullsi91sinsi
SinhalaSri Lankasi-LK1115sinsi
Slovaknullsk27slo/slksk
SlovakSlovakiask-SK1051slo/slksk
Sloveniannullsl36slvsl
SlovenianSloveniasl-SI1060slvsl
Soganullxog4096nullnull
SogaUgandaxog-UG4096nullnull
Somalinullso119somso
SomaliDjiboutiso-DJ4096somso
SomaliEthiopiaso-ET4096somso
SomaliKenyaso-KE4096somso
SomaliSomaliaso-SO1143somso
Sothonullst48nullnull
SothoSouth Africast-ZA1072nullnull
South Ndebelenullnr4096nblnr
South NdebeleSouth Africanr-ZA4096nblnr
Southern SothoLesothost-LS4096nullnull
Spanishnulles10spaes
SpanishArgentinaes-AR11274spaes
SpanishBelizees-BZ4096spaes
SpanishBolivarian Republic of Venezuelaes-VE8202spaes
SpanishBoliviaes-BO16394spaes
SpanishBraziles-BR4096spaes
SpanishChilees-CL13322spaes
SpanishColombiaes-CO9226spaes
SpanishCosta Ricaes-CR5130spaes
SpanishCubaes-CU23562spaes
SpanishDominican Republices-DO7178spaes
SpanishEcuadores-EC12298spaes
SpanishEl Salvadores-SV17418spaes
SpanishEquatorial Guineaes-GQ4096spaes
SpanishGuatemalaes-GT4106spaes
SpanishHondurases-HN18442spaes
SpanishLatin Americaes-41922538spaes
SpanishMexicoes-MX2058spaes
SpanishNicaraguaes-NI19466spaes
SpanishPanamaes-PA6154spaes
SpanishParaguayes-PY15370spaes
SpanishPerues-PE10250spaes
SpanishPhilippineses-PH4096spaes
SpanishPuerto Ricoes-PR20490spaes
SpanishSpaines-ES_tradnl1034spaes
SpanishSpaines-ES3082spaes
SpanishUnited Stateses-US21514spaes
SpanishUruguayes-UY14346spaes
Standard Moroccannullzgh4096nullnull
Standard MoroccanMoroccozgh-Tfng-MA4096nullnull
Standard MoroccanTifinaghzgh-Tfng4096nullnull
Swatinullss4096sswss
SwatiSouth Africass-ZA4096sswss
SwatiSwazilandss-SZ4096sswss
Swedishnullsv29swesv
SwedishÅland Islandssv-AX4096swesv
SwedishFinlandsv-FI2077swesv
SwedishSwedensv-SE1053swesv
Syriacnullsyr90syrnull
SyriacSyriasyr-SY1114syrnull
Tachelhitnullshi4096nullnull
TachelhitTifinaghshi-Tfng4096nullnull
TachelhitTifinagh, Moroccoshi-Tfng-MA4096nullnull
Tachelhit (Latin)nullshi-Latn4096nullnull
Tachelhit (Latin)Moroccoshi-Latn-MA4096nullnull
Taitanulldav4096nullnull
TaitaKenyadav-KE4096nullnull
Tajik (Cyrillic)nulltg40nullnull
Tajik (Cyrillic)nulltg-Cyrl31784nullnull
Tajik (Cyrillic)Tajikistantg-Cyrl-TJ1064nullnull
Tamazight (Latin)nulltzm95nullnull
Tamazight (Latin)nulltzm-Latn31839nullnull
Tamazight (Latin)Algeriatzm-Latn-DZ2143nullnull
Tamilnullta73tamta
TamilIndiata-IN1097tamta
TamilMalaysiata-MY4096tamta
TamilSingaporeta-SG4096tamta
TamilSri Lankata-LK2121tamta
Tasawaqnulltwq4096nullnull
TasawaqNigertwq-NE4096nullnull
Tatarnulltt68tattt
TatarRussiatt-RU1092tattt
Telugunullte74telte
TeluguIndiate-IN1098telte
Tesonullteo4096nullnull
TesoKenyateo-KE4096nullnull
TesoUgandateo-UG4096nullnull
Thainullth30thath
ThaiThailandth-TH1054thath
Tibetannullbo81tib/bodbo
TibetanIndiabo-IN4096tib/bodbo
TibetanPeople's Republic of Chinabo-CN1105tib/bodbo
Tigrenulltig4096tignull
TigreEritreatig-ER4096tignull
Tigrinyanullti115tirti
TigrinyaEritreati-ER2163tirti
TigrinyaEthiopiati-ET1139tirti
Tongannullto4096nullnull
TonganTongato-TO4096nullnull
Tsonganullts49tsots
TsongaSouth Africats-ZA1073tsots
Turkishnulltr31turtr
TurkishCyprustr-CY4096turtr
TurkishTurkeytr-TR1055turtr
Turkmennulltk66tuktk
TurkmenTurkmenistantk-TM1090tuktk
Ukrainiannulluk34ukruk
UkrainianUkraineuk-UA1058ukruk
Upper Sorbiannullhsb46hsbnull
Upper SorbianGermanyhsb-DE1070hsbnull
Urdunullur32urdur
UrduIndiaur-IN2080urdur
UrduIslamic Republic of Pakistanur-PK1056urdur
Uyghurnullug128uigug
UyghurPeople's Republic of Chinaug-CN1152uigug
UzbekPerso-Arabicuz-Arab4096uzbuz
UzbekPerso-Arabic, Afghanistanuz-Arab-AF4096uzbuz
Uzbek (Cyrillic)nulluz-Cyrl30787nullnull
Uzbek (Cyrillic)Uzbekistanuz-Cyrl-UZ2115nullnull
Uzbek (Latin)nulluz67nullnull
Uzbek (Latin)nulluz-Latn31811nullnull
Uzbek (Latin)Uzbekistanuz-Latn-UZ1091nullnull
Vainullvai4096vainull
Vainullvai-Vaii4096vainull
VaiLiberiavai-Vaii-LR4096vainull
Vai (Latin)Liberiavai-Latn-LR4096nullnull
Vai (Latin)nullvai-Latn4096nullnull
ValencianSpainca-ES-2051catca
Vendanullve51venve
VendaSouth Africave-ZA1075venve
Vietnamesenullvi42vievi
VietnameseVietnamvi-VN1066vievi
Volapüknullvo4096volvo
VolapükWorldvo-0014096volvo
Vunjonullvun4096nullnull
VunjoTanzaniavun-TZ4096nullnull
Walsernullwae4096nullnull
WalserSwitzerlandwae-CH4096nullnull
Welshnullcy82wel/cymcy
WelshUnited Kingdomcy-GB1106wel/cymcy
Wolayttanullwal4096walnull
WolayttaEthiopiawal-ET4096walnull
Wolofnullwo136wolwo
WolofSenegalwo-SN1160wolwo
Xhosanullxh52xhoxh
XhosaSouth Africaxh-ZA1076xhoxh
Yangbennullyav4096nullnull
YangbenCameroonyav-CM4096nullnull
Yinullii120nullnull
YiPeople's Republic of Chinaii-CN1144nullnull
Yorubanullyo106yoryo
YorubaBeninyo-BJ4096yoryo
YorubaNigeriayo-NG1130yoryo
Zarmanulldje4096nullnull
ZarmaNigerdje-NE4096nullnull
Zulunullzu53zulzu
ZuluSouth Africazu-ZA1077zulzu

Tests

To run the test suite, first install the dependencies, then run test:

# NPM
npm test
# Or Using Yarn
yarn test

Dependencies

Contributors

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. List of all contributors.

License

MIT © Tiago Danin

Keywords

FAQs

Package last updated on 28 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc