This is a js script that can convert from Latin to Tifinagh script, and vice versa
the script is basically converting every letter to its equivalent.
you can test the script, by visiting the github pages https://anir4.github.io/Tifinagh-Latin-transliteration
'a': 'ⴰ'
'b': 'ⴱ'
'ɡ': 'ⴳ'
'd': 'ⴷ'
'e': 'ⴻ'
'f': 'ⴼ'
'k': 'ⴽ'
'h': 'ⵀ'
'ɛ': 'ⵄ'
'm': 'ⵎ'
't': 'ⵜ'
'č': 'ⵞ'
'ṭ': 'ⵟ'
's': 'ⵙ'
'z': 'ⵣ'
'ṛ': 'ⵕ'
'ḍ': 'ⴹ'
'n': 'ⵏ'
'l': 'ⵍ'
'r': 'ⵔ'
'ṣ': 'ⵚ'
'c': 'ⵛ'
'j': 'ⵊ'
'x': 'ⵅ'
'ḥ': 'ⵃ'
'w': 'ⵡ'
'ɣ': 'ⵖ'
'ʷ': 'ⵯ'
'ẓ': 'ⵥ'
'q': 'ⵇ'
'y': 'ⵢ'
'i': 'ⵉ'
'u': 'ⵓ'
'p': 'ⵒ'
'v': 'ⵠ'