fa
franc-all
npm i franc-all
fa

franc-all

Natural language detection

by Titus

7.1.0 (see all)License:MITTypeScript:Built-In
npm i franc-all
Readme

franc-all

Detect the language of text.

Built with support for 414 languages.

View the monorepo for more packages and info on using them.

Install

This package is ESM only. In Node.js (version 14.14+, 16.0+), install with npm:

npm:

npm install franc-all

Data

This build supports the following languages:

CodeNameSpeakers
cmnMandarin Chinese885M
spaSpanish332M
engEnglish322M
rusRussian288M
arbStandard Arabic280M
benBengali196M
hinHindi182M
porPortuguese182M
indIndonesian140M
jpnJapanese125M
fraFrench124M
deuGerman121M
javJavanese (Javanese)76M
javJavanese (Latin)76M
korKorean75M
telTelugu73M
vieVietnamese67M
marMarathi65M
itaItalian63M
tamTamil62M
turTurkish59M
urdUrdu54M
gujGujarati44M
polPolish44M
ukrUkrainian41M
kanKannada38M
maiMaithili35M
malMalayalam34M
pesIranian Persian33M
myaBurmese31M
swhSwahili (individual language)30M
sunSundanese27M
ronRomanian26M
panPanjabi26M
bhoBhojpuri25M
amhAmharic23M
hauHausa22M
fuvNigerian Fulfulde22M
bosBosnian (Cyrillic)21M
bosBosnian (Latin)21M
hrvCroatian21M
nldDutch21M
srpSerbian (Cyrillic)21M
srpSerbian (Latin)21M
thaThai21M
ckbCentral Kurdish20M
yorYoruba20M
uznNorthern Uzbek (Cyrillic)18M
uznNorthern Uzbek (Latin)18M
zlmMalay (individual language) (Arabic)18M
zlmMalay (individual language) (Latin)18M
iboIgbo17M
npiNepali (individual language)16M
cebCebuano15M
skrSaraiki15M
tglTagalog15M
hunHungarian15M
azjNorth Azerbaijani (Cyrillic)14M
azjNorth Azerbaijani (Latin)14M
sinSinhala13M
koiKomi-Permyak13M
ellModern Greek (1453-)12M
cesCzech12M
magMagahi11M
runRundi11M
belBelarusian10M
pltPlateau Malagasy10M
qugChimborazo Highland Quichua10M
madMadurese10M
nyaNyanja10M
zybYongbei Zhuang10M
pbuNorthern Pashto10M
kinKinyarwanda9M
zulZulu9M
bulBulgarian9M
sweSwedish9M
linLingala8M
somSomali8M
hmsSouthern Qiandong Miao8M
hnjHmong Njua8M
iloIloko8M
kazKazakh8M
uigUighur (Arabic)7M
uigUighur (Latin)7M
hatHaitian7M
khmKhmer7M
prsDari7M
hilHiligaynon7M
snaShona7M
tatTatar7M
xhoXhosa7M
hyeArmenian7M
minMinangkabau7M
afrAfrikaans6M
luaLuba-Lulua6M
satSantali6M
bodTibetan6M
tirTigrinya6M
finFinnish6M
slkSlovak6M
tukTurkmen (Cyrillic)5M
tukTurkmen (Latin)5M
danDanish5M
nobNorwegian Bokmål5M
sukSukuma5M
alsTosk Albanian5M
sagSango5M
nnoNorwegian Nynorsk5M
hebHebrew5M
mosMossi5M
tgkTajik4M
catCatalan4M
sotSouthern Sotho4M
katGeorgian4M
bclCentral Bikol4M
glgGalician4M
laoLao4M
litLithuanian4M
umbUmbundu4M
tsnTswana4M
vecVenetian4M
nsoPedi4M
banBalinese4M
bugBuginese4M
kncCentral Kanuri4M
kngKoongo3M
ibbIbibio3M
lugGanda3M
aceAchinese3M
bamBambara3M
tzmCentral Atlas Tamazight3M
yddEastern Yiddish3M
kmbKimbundu3M
lunLunda3M
shnShan3M
warWaray (Philippines)3M
dyuDyula3M
wolWolof3M
kirKirghiz3M
ndsLow German3M
fufPular3M
mkdMacedonian3M
vmwMakhuwa3M
zghStandard Moroccan Tamazight2M
eweEwe2M
khkHalh Mongolian2M
slvSlovenian2M
ayrCentral Aymara2M
bemBemba (Zambia)2M
emkEastern Maninkakan2M
bciBaoulé2M
bumBulu (Cameroon)2M
epoEsperanto2M
pamPampanga2M
tivTiv2M
tpiTok Pisin2M
venVenda2M
sswSwati2M
nynNyankole2M
kbdKabardian2M
iiiSichuan Yi2M
yaoYao2M
lvsStandard Latvian2M
quzCusco Quechua2M
srcLogudorese Sardinian2M
rupMacedo-Romanian2M
scoScots2M
tsoTsonga2M
menMende (Sierra Leone)1M
fonFon1M
nhnCentral Nahuatl1M
dipNortheastern Dinka1M
kdeMakonde1M
kbpKabiyè1M
temTimne1M
toiTonga (Zambia)1M
ekkStandard Estonian1M
snkSoninke1M
cjkChokwe1M
adaAdangme1M
aiiAssyrian Neo-Aramaic1M
quyAyacucho Quechua1M
rmnBalkan Romani1M
binBini1M
gaaGa1M
ndoNdonga1M
nymNyamwezi926K
susSusu923K
tlyTalysh915K
srrSerer869K
khaKhasi865K
ociOccitan (post 1500)855K
heaNorthern Qiandong Miao820K
gkpGuinea Kpelle808K
hniHani747K
fryWestern Frisian730K
yuaYucateco700K
fijFijian650K
furFriulian600K
tetTetum600K
wlnWalloon600K
eusBasque588K
ossOssetian588K
nblSouth Ndebele588K
povUpper Guinea Crioulo580K
cymWelsh580K
lusLushai542K
dagDagbani540K
dgaSouthern Dagaare501K
breBreton500K
kekKekchí500K
lijLigurian500K
pcdPicard500K
rohRomansh500K
bfaBari480K
kriKrio480K
cnhHakha Chin446K
lobLobi442K
arnMapudungun440K
bbaBaatonum400K
dzoDzongkha400K
keaKabuverdianu394K
sahYakut363K
smoSamoan362K
kooKonzo362K
nziNzima353K
mazCentral Mazahua350K
pisPijin350K
ctdTedim Chin344K
cosCorsican341K
ltzLuxembourgish336K
liaWest-Central Limba335K
mltMaltese330K
hnaMina (Cameroon)327K
zdjNgazidja Comorian312K
gucWayuu305K
qwhHuaylas Ancash Quechua300K
qucK'iche'300K
divDhivehi287K
islIcelandic283K
kqnKaonde276K
papPapiamento263K
gleIrish260K
dyoJola-Fonyi260K
hnsCaribbean Hindustani250K
gjnGonja250K
njoAo Naga232K
husHuastec220K
xsmKasem200K
oteMezquital Otomi200K
qxnNorthern Conchucos Ancash Quechua200K
tyvTuvinian200K
gagGagauz198K
sanSanskrit194K
shkShilluk175K
nbaNyemba172K
miqMískito160K
mamMam157K
tahTahitian150K
navNavajo149K
amiAmis138K
lotOtuho135K
cakKaqchikel132K
tzhTzeltal130K
tzoTzotzil130K
lnsLamnso'125K
tonTonga (Tonga Islands)123K
tbzDitammari120K
ladLadino120K
vaiVai120K
mtoTotontepec Mixe119K
adyAdyghe118K
abkAbkhazian105K
astAsturian100K
tszPurepecha100K
swbMaore Comorian97K
cabGarifuna95K
krlKarelian80K
zamMiahuatlán Zapotec80K
topPapantla Totonac80K
chaChamorro78K
crsSeselwa Creole French73K
ddnDendi (Benin)72K
lozLozi72K
mriMaori70K
slrSalar70K
hsbUpper Sorbian70K
criSãotomense70K
pbbPáez68K
altSouthern Altai68K
qvaAmbo-Pasco Quechua65K
mxvMetlatónoc Mixtec65K
glaScottish Gaelic64K
kjhKhakas60K
cswSwampy Cree60K
qvmMargos-Yarowilca-Lauricocha Quechua55K
faoFaroese47K
kalKalaallisut47K
cniAsháninka45K
chkChuukese45K
mahMarshallese44K
rarRarotongan43K
evnEvenki40K
qvnNorth Junín Quechua40K
wwaWaama40K
bucBushi39K
qvhHuamalíes-Dos de Mayo Huánuco Quechua38K
tojTojolabal36K
lueLuvale36K
qvcCajamarca Quechua35K
ojbNorthwestern Ojibwa35K
jivShuar35K
lldLadin30K
hltMatu Chin30K
queQuechua30K
ponPohnpeian28K
agrAguaruna28K
yrkNenets27K
quhSouth Bolivian Quechua25K
tcaTicuna25K
chjOjitlán Chinantec22K
ikeEastern Canadian Inuktitut22K
kwiAwa-Cuaiquer21K
rgnRomagnol20K
okiOkiek20K
tobToba20K
guuYanomamö18K
qxuArequipa-La Unión Quechua16K
pauPalauan15K
shpShipibo-Conibo15K
gldNanai12K
gugParaguayan Guaraní12K
mziIxcatlán Mazatec11K
cjsShor10K
micMi'kmaq8K
hawHawaiian8K
eveEven7K
yapYapese7K
cbtChayahuita6K
ameYanesha'6K
gyrGuarayu6K
vepVeps6K
cpuPichis Ashéninka5K
acuAchuar-Shiwiar5K
notNomatsiguenga4K
smeNorthern Sami4K
yadYagua4K
uraUrarina4K
cbuCandoshi-Shapra3K
huuMurui Huitoto3K
cofColorado2K
boaBora2K
cbsCashinahua2K
ztuGüilá Zapotec2K
piuPintupi-Luritja2K
cbrCashibo-Cacataibo2K
mcfMatsés1K
bisBislama1K
orhOroqen1K
ykgNorthern Yukaghir1K
eseEse Ejja1K
nioNganasan1K
cicChickasaw1K
csaChiltepec Chinantec1K
nivGilyak1K
mcdSharanahua950
amcAmahuaca720
amrAmarakaeri500
snnSiona500
cotCaquinte300
oaaOrok295
ajgAja (Benin)200
arlArabela150
pplPipil20
aarAfarunknown
baxBamununknown
nkuBouna Kulangounknown
cbiChachiunknown
chrCherokeeunknown
chvChuvashunknown
crhCrimean Tatarunknown
duuDrungunknown
cfmFalam Chinunknown
fatFantiunknown
fvrFurunknown
idoIdounknown
iduIdomaunknown
inaInterlingua (International Auxiliary Language Association)unknown
kaaKara-Kalpakunknown
kkhKhünunknown
ktuKituba (Democratic Republic of Congo)unknown
fkvKven Finnishunknown
latLatinunknown
glvManxunknown
mfqMobaunknown
mnwMonunknown
cnrMontenegrinunknown
morMorounknown
mxiMozarabic0
pcmNigerian Pidginunknown
niuNiueanunknown
kqsNorthern Kissiunknown
seySecoyaunknown
ijsSoutheast Ijounknown
gswSwiss Germanunknown
bltTai Damunknown
kdhTemunknown
tdtTetun Diliunknown
twiTwiunknown
uduUdukunknown
aucWaoraniunknown
gazWest Central Oromounknown
pnbWestern Panjabiunknown
zroZáparounknown

License

MIT © Titus Wormer

No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate