greek-spelling
v0.1.0
Published
Greek spelling alphabet
Downloads
1
Maintainers
Readme
greek-spelling
Spell the characters of a greek text.
Installation
npm install greek-spelling
In case you don't use a module bundler, there is a UMD build in the dist
directory.
Usage
import {toAlphabet, toPhonetic} from 'greek-spelling';
console.log(toAlphabet('Αβγ'));
// [ 'άλφα', 'βήτα', 'γάμμα' ]
console.log(toPhonetic('Σε 1 λεπτό!'));
// [ 'σοφός',
// 'Ερμής',
// 'κενό',
// 'ένα',
// 'κενό',
// 'λάμα',
// 'Ερμής',
// 'Πέτρος',
// 'τίγρης',
// 'οσμή',
// 'θαυμαστικό' ]