@tannin/plural-forms@1.1.0
// Compiles a function to compute the plural forms index for a given value
$ npm install @tannin/plural-forms
downloads/wk
191,419
license
MIT
version
1.1.0
published
Mar 7, 2020
What is @tannin/plural-forms?
@tannin/plural-forms is a utility that generates a function to determine which plural form to use for a given number based on language-specific rules. Developers use it when building internationalization (i18n) systems that need to display the correct plural form of a word in different languages, where plural rules vary significantly (for example, English has two forms for singular/plural, while other languages may have three or more).
Links
Dependencies (1)
Maintainers
aduth