No longer refer to greek users with the wrong name declension. Greet your users with 🇬🇷 filotimo , 🇬🇷 meraki and their correct name form.
Do you wish your scammy emails were more convincing? Then stop misusing your users' names!
❌ BAD ❌
Καλησπέρα Απόστολος!
✅ GOOD ✅
Καλησπέρα Απόστολε!
const { getDeclension } = require( "greek-name-declension");
console.log(getDeclension("Φωφώ"));
/*
{
nominative: 'Φωφώ',
possesive: 'Φωφώς',
accusative: 'Φωφώ',
vocative: 'Φωφώ'
}
*/
npm i greek-name-declension
console.log(getDeclension("Αγαμέμνων"));
/*
{
nominative: "Αγαμέμνων",
possesive: "Αγαμέμνονος",
accusative: "Αγαμέμνονα",
vocative: "Αγαμέμνων",
}
*/
console.log(getDeclension("κούλα"));
/*
{
nominative: "κούλα",
possesive: "κούλας",
accusative: "κούλα",
vocative: "κούλα",
}
*/
console.log(getDeclension("ΒΑΓΓΕΛΑΣ"));
/*
{
nominative: "ΒΑΓΓΕΛΑΣ",
possesive: "ΒΑΓΓΕΛΑ",
accusative: "ΒΑΓΓΕΛΑ",
vocative: "ΒΑΓΓΕΛΑ",
}
*/
console.log(getDeclension("Δημητρης"));
/*
{
nominative: "Δημητρης",
possesive: "Δημητρη",
accusative: "Δημητρη",
vocative: "Δημητρη",
}
*/
console.log(getDeclension("Δαβίδ"));
/*
{
nominative: "Δαβίδ",
possesive: "Δαβίδ",
accusative: "Δαβίδ",
vocative: "Δαβίδ",
}
*/