npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@creately/font-family-lang-support

v1.0.1

Published

This package will be useful to check whether the given language is supported by the given font family. Returns true if it is supported.

Downloads

2

Readme

@creately/font-family-lang-support

This package will be useful to check whether the given language is supported by the given font family. Returns true if it is supported.

Install

$ npm install @creately/font-family-lang-support

Usage

import { FontLanguageInfo } from '@creately/font-family-lang-support';

const fontLanguageInfo = new FontLanguageInfo()
                                .isFontSupport(fontFamily: string, languageCode: string)

Support

This supports the following languages codes :

| Code | Name | Speakers | | - | - | - | | cmn | Mandarin Chinese | 885M | | spa | Spanish | 332M | | eng | English | 322M | | rus | Russian | 288M | | arb | Standard Arabic | 280M | | ben | Bengali | 196M | | hin | Hindi | 182M | | por | Portuguese | 182M | | ind | Indonesian | 140M | | jpn | Japanese | 125M | | fra | French | 124M | | deu | German | 121M | | jav | Javanese | 76M | | kor | Korean | 75M | | tel | Telugu | 73M | | vie | Vietnamese | 67M | | mar | Marathi | 65M | | ita | Italian | 63M | | tam | Tamil | 62M | | tur | Turkish | 59M | | urd | Urdu | 54M | | guj | Gujarati | 44M | | pol | Polish | 44M | | ukr | Ukrainian | 41M | | fas | Persian | 40M | | kan | Kannada | 38M | | mai | Maithili | 35M | | mal | Malayalam | 34M | | mya | Burmese | 31M | | ori | Oriya (macrolanguage) | 31M | | gax | Borana-Arsi-Guji Oromo | 30M | | swh | Swahili (individual language) | 30M | | sun | Sundanese | 27M | | ron | Romanian | 26M | | pan | Panjabi | 26M | | bho | Bhojpuri | 25M | | amh | Amharic | 23M | | hau | Hausa | 22M | | fuv | Nigerian Fulfulde | 22M | | bos | Bosnian (Cyrillic) | 21M | | bos | Bosnian (Latin) | 21M | | hrv | Croatian | 21M | | nld | Dutch | 21M | | srp | Serbian (Cyrillic) | 21M | | srp | Serbian (Latin) | 21M | | tha | Thai | 21M | | ckb | Central Kurdish | 20M | | yor | Yoruba | 20M | | uzn | Northern Uzbek (Cyrillic) | 18M | | uzn | Northern Uzbek (Latin) | 18M | | zlm | Malay (individual language) (Arabic) | 18M | | zlm | Malay (individual language) (Latin) | 18M | | ibo | Igbo | 17M | | nep | Nepali (macrolanguage) | 16M | | ceb | Cebuano | 15M | | skr | Saraiki | 15M | | tgl | Tagalog | 15M | | hun | Hungarian | 15M | | azj | North Azerbaijani (Cyrillic) | 14M | | azj | North Azerbaijani (Latin) | 14M | | sin | Sinhala | 13M | | koi | Komi-Permyak | 13M | | ell | Modern Greek (1453-) | 12M | | ces | Czech | 12M | | run | Rundi | 11M | | bel | Belarusian | 10M | | plt | Plateau Malagasy | 10M | | qug | Chimborazo Highland Quichua | 10M | | mad | Madurese | 10M | | nya | Nyanja | 10M | | zyb | Yongbei Zhuang | 10M | | pbu | Northern Pashto | 10M | | kin | Kinyarwanda | 9M | | zul | Zulu | 9M | | bul | Bulgarian | 9M | | swe | Swedish | 9M | | lin | Lingala | 8M | | som | Somali | 8M | | hms | Southern Qiandong Miao | 8M | | hnj | Hmong Njua | 8M | | ilo | Iloko | 8M | | kaz | Kazakh | 8M | | uig | Uighur (Arabic) | 7M | | uig | Uighur (Latin) | 7M | | hat | Haitian | 7M | | khm | Khmer | 7M | | aka | Akan | 7M | | hil | Hiligaynon | 7M | | sna | Shona | 7M | | tat | Tatar | 7M | | xho | Xhosa | 7M | | hye | Armenian | 7M | | min | Minangkabau | 7M | | afr | Afrikaans | 6M | | lua | Luba-Lulua | 6M | | sat | Santali | 6M | | bod | Tibetan | 6M | | tir | Tigrinya | 6M | | fin | Finnish | 6M | | slk | Slovak | 6M | | tuk | Turkmen (Cyrillic) | 5M | | tuk | Turkmen (Latin) | 5M | | dan | Danish | 5M | | nob | Norwegian Bokmål | 5M | | suk | Sukuma | 5M | | als | Tosk Albanian | 5M | | sag | Sango | 5M | | nno | Norwegian Nynorsk | 5M | | heb | Hebrew | 5M | | mos | Mossi | 5M | | tgk | Tajik | 4M | | cat | Catalan | 4M | | sot | Southern Sotho | 4M | | kat | Georgian | 4M | | bcl | Central Bikol | 4M | | glg | Galician | 4M | | lao | Lao | 4M | | lit | Lithuanian | 4M | | umb | Umbundu | 4M | | tsn | Tswana | 4M | | vec | Venetian | 4M | | nso | Pedi | 4M | | ban | Balinese | 4M | | bug | Buginese | 4M | | knc | Central Kanuri | 4M | | kng | Koongo | 3M | | ibb | Ibibio | 3M | | lug | Ganda | 3M | | ace | Achinese | 3M | | bam | Bambara | 3M | | tzm | Central Atlas Tamazight | 3M | | ydd | Eastern Yiddish | 3M | | kmb | Kimbundu | 3M | | lun | Lunda | 3M | | shn | Shan | 3M | | war | Waray (Philippines) | 3M | | dyu | Dyula | 3M | | wol | Wolof | 3M | | kir | Kirghiz | 3M | | nds | Low German | 3M | | fuf | Pular | 3M | | mkd | Macedonian | 3M | | vmw | Makhuwa | 3M | | zgh | Standard Moroccan Tamazight | 2M | | ewe | Ewe | 2M | | khk | Halh Mongolian | 2M | | slv | Slovenian | 2M | | ayr | Central Aymara | 2M | | bem | Bemba (Zambia) | 2M | | emk | Eastern Maninkakan | 2M | | bci | Baoulé | 2M | | bum | Bulu (Cameroon) | 2M | | epo | Esperanto | 2M | | pam | Pampanga | 2M | | tiv | Tiv | 2M | | tpi | Tok Pisin | 2M | | ven | Venda | 2M | | ssw | Swati | 2M | | nyn | Nyankole | 2M | | kbd | Kabardian | 2M | | iii | Sichuan Yi | 2M | | yao | Yao | 2M | | lav | Latvian | 2M | | quz | Cusco Quechua | 2M | | src | Logudorese Sardinian | 2M | | sco | Scots | 2M | | tso | Tsonga | 2M | | rmy | Vlax Romani | 2M | | men | Mende (Sierra Leone) | 1M | | fon | Fon | 1M | | nhn | Central Nahuatl | 1M | | dip | Northeastern Dinka | 1M | | kde | Makonde | 1M | | snn | Siona | 1M | | kbp | Kabiyè | 1M | | tem | Timne | 1M | | toi | Tonga (Zambia) | 1M | | est | Estonian | 1M | | snk | Soninke | 1M | | cjk | Chokwe | 1M | | ada | Adangme | 1M | | aii | Assyrian Neo-Aramaic | 1M | | quy | Ayacucho Quechua | 1M | | rmn | Balkan Romani | 1M | | bin | Bini | 1M | | gaa | Ga | 1M | | ndo | Ndonga | 1M | | nym | Nyamwezi | 926k | | sus | Susu | 923k | | tly | Talysh | 915k | | srr | Serer | 869k | | kha | Khasi | 865k | | hea | Northern Qiandong Miao | 820k | | gkp | Guinea Kpelle | 808k | | hni | Hani | 747k | | fry | Western Frisian | 730k | | yua | Yucateco | 700k | | fij | Fijian | 650k | | fur | Friulian | 600k | | tet | Tetum | 600k | | wln | Walloon | 600k | | eus | Basque | 588k | | oss | Ossetian | 588k | | nbl | South Ndebele | 588k | | pov | Upper Guinea Crioulo | 580k | | cym | Welsh | 580k | | lus | Lushai | 542k | | dag | Dagbani | 540k | | dga | Southern Dagaare | 501k | | bre | Breton | 500k | | kek | Kekchí | 500k | | lij | Ligurian | 500k | | pcd | Picard | 500k | | roh | Romansh | 500k | | bfa | Bari | 480k | | kri | Krio | 480k | | cnh | Hakha Chin | 446k | | lob | Lobi | 442k | | arn | Mapudungun | 440k | | bba | Baatonum | 400k | | dzo | Dzongkha | 400k | | kea | Kabuverdianu | 394k | | sah | Yakut | 363k | | smo | Samoan | 362k | | koo | Konzo | 362k | | nzi | Nzima | 353k | | maz | Central Mazahua | 350k | | pis | Pijin | 350k | | ctd | Tedim Chin | 344k | | cos | Corsican | 341k | | ltz | Luxembourgish | 336k | | lia | West-Central Limba | 335k | | mlt | Maltese | 330k | | hna | Mina (Cameroon) | 327k | | zdj | Ngazidja Comorian | 312k | | guc | Wayuu | 305k | | qwh | Huaylas Ancash Quechua | 300k | | quc | K'iche' | 300k | | div | Dhivehi | 287k | | isl | Icelandic | 283k | | kqn | Kaonde | 276k | | pap | Papiamento | 263k | | gle | Irish | 260k | | dyo | Jola-Fonyi | 260k | | hns | Caribbean Hindustani | 250k | | gjn | Gonja | 250k | | njo | Ao Naga | 232k | | hus | Huastec | 220k | | mag | Magahi | 220k | | xsm | Kasem | 200k | | ote | Mezquital Otomi | 200k | | qxn | Northern Conchucos Ancash Quechua | 200k | | tyv | Tuvinian | 200k | | gag | Gagauz | 198k | | san | Sanskrit | 194k | | shk | Shilluk | 175k | | nba | Nyemba | 172k | | miq | Mískito | 160k | | mam | Mam | 157k | | tah | Tahitian | 150k | | nav | Navajo | 149k | | ami | Amis | 138k | | lot | Otuho | 135k | | cak | Kaqchikel | 132k | | tzh | Tzeltal | 130k | | tzo | Tzotzil | 130k | | lns | Lamnso' | 125k | | ton | Tonga (Tonga Islands) | 123k | | tbz | Ditammari | 120k | | lad | Ladino | 120k | | vai | Vai | 120k | | mto | Totontepec Mixe | 119k | | ady | Adyghe | 118k | | abk | Abkhazian | 105k | | ast | Asturian | 100k | | tsz | Purepecha | 100k | | swb | Maore Comorian | 97k | | cab | Garifuna | 95k | | krl | Karelian | 80k | | zam | Miahuatlán Zapotec | 80k | | top | Papantla Totonac | 80k | | cha | Chamorro | 78k | | crs | Seselwa Creole French | 73k | | ddn | Dendi (Benin) | 72k | | loz | Lozi | 72k | | mri | Maori | 70k | | hsb | Upper Sorbian | 70k | | cri | Sãotomense | 70k | | pbb | Páez | 68k | | alt | Southern Altai | 68k | | qva | Ambo-Pasco Quechua | 65k | | mxv | Metlatónoc Mixtec | 65k | | gla | Scottish Gaelic | 64k | | kjh | Khakas | 60k | | csw | Swampy Cree | 60k | | qvm | Margos-Yarowilca-Lauricocha Quechua | 55k | | fao | Faroese | 47k | | kal | Kalaallisut | 47k | | cni | Asháninka | 45k | | chk | Chuukese | 45k | | mah | Marshallese | 44k | | rar | Rarotongan | 43k | | evn | Evenki | 40k | | qvn | North Junín Quechua | 40k | | wwa | Waama | 40k | | buc | Bushi | 39k | | qvh | Huamalíes-Dos de Mayo Huánuco Quechua | 38k | | toj | Tojolabal | 36k | | lue | Luvale | 36k | | qvc | Cajamarca Quechua | 35k | | ojb | Northwestern Ojibwa | 35k | | jiv | Shuar | 35k | | qud | Calderón Highland Quichua | 30k | | lld | Ladin | 30k | | hlt | Matu Chin | 30k | | que | Quechua | 30k | | pon | Pohnpeian | 28k | | agr | Aguaruna | 28k | | qxa | Chiquián Ancash Quechua | 25k | | quh | South Bolivian Quechua | 25k | | tca | Ticuna | 25k | | chj | Ojitlán Chinantec | 22k | | ike | Eastern Canadian Inuktitut | 22k | | kwi | Awa-Cuaiquer | 21k | | rgn | Romagnol | 20k | | oki | Okiek | 20k | | tob | Toba | 20k | | guu | Yanomamö | 18k | | qxu | Arequipa-La Unión Quechua | 16k | | pau | Palauan | 15k | | shp | Shipibo-Conibo | 15k | | gld | Nanai | 12k | | gug | Paraguayan Guaraní | 12k | | mzi | Ixcatlán Mazatec | 11k | | cjs | Shor | 10k | | mic | Mi'kmaq | 8k | | haw | Hawaiian | 8k | | eve | Even | 7k | | yap | Yapese | 7k | | cbt | Chayahuita | 6k | | ame | Yanesha' | 6k | | gyr | Guarayu | 6k | | vep | Veps | 6k | | cpu | Pichis Ashéninka | 5k | | acu | Achuar-Shiwiar | 5k | | not | Nomatsiguenga | 4k | | sme | Northern Sami | 4k | | yad | Yagua | 4k | | ura | Urarina | 4k | | cbu | Candoshi-Shapra | 3k | | huu | Murui Huitoto | 3k | | cof | Colorado | 2k | | boa | Bora | 2k | | ztu | Güilá Zapotec | 2k | | piu | Pintupi-Luritja | 2k | | cbr | Cashibo-Cacataibo | 2k | | mcf | Matsés | 1k | | bis | Bislama | 1k | | orh | Oroqen | 1k | | ykg | Northern Yukaghir | 1k | | ese | Ese Ejja | 1k | | nio | Nganasan | 1k | | cic | Chickasaw | 1k | | csa | Chiltepec Chinantec | 1k | | mcd | Sharanahua | 950 | | amc | Amahuaca | 720 | | amr | Amarakaeri | 500 | | cot | Caquinte | 300 | | oaa | Orok | 295 | | ajg | Aja (Benin) | 200 | | arl | Arabela | 150 | | ppl | Pipil | 20 | | bax | Bamun | unknown | | nku | Bouna Kulango | unknown | | cbi | Chachi | unknown | | ccp | Chakma | unknown | | chr | Cherokee (Cherokee) | unknown | | chr | Cherokee (Cherokee) | unknown | | duu | Drung | unknown | | cfm | Falam Chin | unknown | | fat | Fanti | unknown | | ido | Ido | unknown | | ina | Interlingua (International Auxiliary Language Association) | unknown | | kkh | Khün | unknown | | ktu | Kituba (Democratic Republic of Congo) | unknown | | fkv | Kven Finnish | unknown | | lat | Latin | unknown | | glv | Manx | unknown | | mfq | Moba | unknown | | mnw | Mon | unknown | | mxi | Mozarabic | 0 | | pcm | Nigerian Pidgin | unknown | | niu | Niuean | unknown | | kqs | Northern Kissi | unknown | | sey | Secoya | unknown | | ekk | Standard Estonian | unknown | | lvs | Standard Latvian | unknown | | blt | Tai Dam | unknown | | kdh | Tem | unknown | | tdt | Tetun Dili | unknown | | twi | Twi (Latin) | unknown | | twi | Twi (Latin) | unknown | | auc | Waorani | unknown | | gaz | West Central Oromo | unknown | | pnb | Western Panjabi | unknown | | zro | Záparo | unknown |

API

.isFontSupport(fontFamily: string, languageCode: string)

This returns a boolean value. True indicates that the font is supported for the given language.