0.1.0 • Published 8 years ago

greek-spelling v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

greek-spelling npm version Build status Coverage status

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 λεπτό!'));
// [ 'σοφός',
//   'Ερμής',
//   'κενό',
//   'ένα',
//   'κενό',
//   'λάμα',
//   'Ερμής',
//   'Πέτρος',
//   'τίγρης',
//   'οσμή',
//   'θαυμαστικό' ]

License

MIT