pluralizer-for-js
v1.1.0
Published
Returns the desired declension of a word depending on the numeral
Downloads
2
Readme
Pluralizer for JavaScript
pluralizer
returns the desired declension of a word depending on the numeral.
Installation
npm i pluralizer-for-js
Usage
import {pluralizer} from '../../node_modules/pluralizer-for-js/pluralizer.mjs'
const result = pluralizer(178573, 'яблоко', 'яблока', 'яблок');
console.log(result);