A tiny JS library that returns a Greek name in vocative case.
npm install @desquared/greek-vocative-name
CJS build for usage in node environment.
const {getVocativeName} = require('@desquared/greek-vocative-name');
getVocativeName('Τάκης');
ESM build for usage in modern JS environments.
import {getVocativeName} from '@desquared/greek-vocative-name';
getVocativeName('Μάκης')
UMD build that works for both front and back end.
Just include the UMD script in your code and then use it like this:
greekVocativeName.getVocativeName('Μάκης');