telephone-keypads
Language-specific and language-independent telephone keypad assignments according to ETSI ES 202 130, v2.1.1.
Installation
npm install telephone-keypads
Usage
A telephone keypad generally has the following structure:
// example: greek keypad "1": "2": "α" "β" "γ" "2" "ά" "a" "b" "c" "3": "δ" "ε" "ζ" "3" "έ" "d" "e" "f" "4": "η" "θ" "ι" "4" "ή" "ί" "ϊ" "ΐ" "g" "h" "i" "5": "κ" "λ" "μ" "5" "j" "k" "l" "6": "ν" "ξ" "ο" "6" "ό" "m" "n" "o" "7": "π" "ρ" "σ" "ς" "7" "p" "q" "r" "s" "8": "τ" "υ" "φ" "8" "ύ" "ϋ" "ΰ" "t" "u" "v" "9": "χ" "ψ" "ω" "9" "ώ" "w" "x" "y" "z" "0":
The following keypads are currently supported:
Language independent
Cyrillic
// pick one of these methods to import the keypadconst cyrillic = languageIndependentcyrillicconst cyrillic =
Latin
// pick one of these methods to import the keypadconst latin = languageIndependentlatinconst latin =
Language specific
Chinese (Pinyin)
// pick one of these methods to import the keypadconst pinyin = languageSpecificpinyinconst pinyin =
French
// pick one of these methods to import the keypadconst french = languageSpecificfrenchconst french =
German
// pick one of these methods to import the keypadconst german = languageSpecificgermanconst german =
Greek
// pick one of these methods to import the keypadconst greek = languageSpecificgreekconst greek =
Hebrew
// pick one of these methods to import the keypadconst hebrew = languageSpecifichebrewconst hebrew =
Polish
// pick one of these methods to import the keypadconst polish = languageSpecificpolishconst polish =
Turkish
// pick one of these methods to import the keypadconst turkish = languageSpecificturkishconst turkish =
Feel free to contribute and add more languages here!
Contributing
If you found a bug, want to add support for another language or propose a feature, feel free to visit the issues page.