pluralize icon indicating copy to clipboard operation
pluralize copied to clipboard

Pluralize or singularize any word based on a count

Results 58 pluralize issues
Sort by recently updated
recently updated
newest added

Is there a similar library for chosing between `a` and `an` given a word?

I have an acronym that needs pluralized; ATM is a good proxy: ``` p('ATM') 'ATMS' ``` Unfortunately, I think the plural should be `ATMs`, since the "word" is uppercase not...

enhancement

``` const pluralize = require('pluralize'); console.log(pluralize.singular("hypnosis")); // hypnosi ```

The plural of "they" is "he". It is becoming "she". This was an embarrassing when my community pointed out this mistake with feedback like "are you giving us all love?"....

Added a preserveCasing option to addIrregularRule to handle cases where you want to pluralize things like ID => IDs.

`pluralize.singular('data')` returns `datum` because of the rule here: https://github.com/plurals/pluralize/blob/master/pluralize.js#L385 This PR just adds data to the list of singular words with no plurals because I don't believe data has a...

With pluralize version 8.0.0, pluralize('ID', 2) return 'IDS'. I would like to to have some option to make it returns 'IDs'

Add 'selected' to uncountable to update pluralization of 'selected' to 'selected' rather than current result: 'selecteds'

Having 'goose/geese' defined as an irregular rule was causing incorrect pluralization of goose species, e.g. 'Canada goose' => 'Canada gooses'. Using a pluralization/singularization rule for goose/geese fixes this issue.