On Tue, Jan 31, 2017 at 12:28:56PM +0530, Abhishek Lolage wrote:
> * URL : https://github.com/sindresorhus/irregular-plurals#readme
> Description : Map of nouns to their irregular plural form
>
> This package can be used to find the plural form of some
> nouns who have irregular plural form.
> If the noun ends in an "s", "x", "z", "ch" or "sh", add "es"
> If the noun ends in a "y" and is preceded by a consonant, drop the
> "y" and add "ies"
> If the noun ends in a "y" and is preceded by a vowel, add "s"
The last three lines actually describe precisely what this package does
NOT do. It only contains a list of nouns whose plurals are irregular. It
doesn't contain any JavaScript at all.
This package is a dependency for https://github.com/sindresorhus/plur.
I don't know why you'd ever want this to use this irregular-plurals list
separately from the package plur, but I guess this is just because of
the whole node.js mindset.
It also only works for the English, it might be nice to add that to the
description.
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus@debian.org>
Attachment:
signature.asc
Description: Digital signature