Skip to content

CodeXiD/pluralize-ua

Repository files navigation

pluralize-ua

Formation of plurals for the Ukrainian language

npm GitHub issues npm

📦 Installation

yarn

yarn add pluralize-ua

npm

npm i pluralize-ua

🔧 Simple usage

import {pluralizeWord} from "pluralize-ua";

console.log(pluralizeWord(1, 'яблуко', 'яблука', 'яблук')) // 1 яблуко
console.log(pluralizeWord(2, 'яблуко', 'яблука', 'яблук')) // 2 яблука
console.log(pluralizeWord(10, 'яблуко', 'яблука', 'яблук')) // 10 яблук

About

Formation of plurals for the Ukrainian language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published