Pluralize is a JavaScript utility that pluralizes or singularizes a word based on a count, using a predefined set of ordered rules. It is useful for generating grammatically correct labels in applications, including cases where you may want to add the number prefix (for example, “3 ducks”).
Project status
- Maintenance status: Appears mostly in maintenance mode. The latest versioned updates in the provided history are from 2019-05-25 (v8.0.0), and while the upstream repository shows a push on 2024-06-26, there are no newer tagged update notes in the evidence you provided.
- Update cadence: Sparse for years, with version tags in 2019, 2017, 2017 and no evidence of versioned updates close to 2026-08-12.
AI summary generated
Recent updates
v8.0.0
Version v8.0.0 updates the pluralize/singularize word rules for a set of specific English words and patterns, focusing on uncountables and irregular pluralization. The release notes describe several targeted changes (e.g., uncountables like transportation and pokemon, pluralization like octopi to octopuses, and special cases like passerby and enterprise). The code diff shows additional rule changes and test additions beyond what is documented.
Breakingv7.0.0
Version v7.0.0 is a small update that claims to add support for the word "emphasis". The code changes are limited in size, but they modify the core regex rules used for singularization of certain word endings, and the test suite adds several new expectations.
Featuresv6.0.0
This release updates the pluralize library version to v6.0.0 and modifies the internal list of uncountable words. Specifically, the word "audio" is added so pluralization should not change it.
v5.1.0
This release adds two new API methods, pluralize.isPlural and pluralize.isSingular, along with updates to the library's uncountable word handling. The documented behavior changes are that words ending in 'ous' are treated as uncountable, and that 'anime' and 'manga' are treated as uncountable.
Featuresv5.0.0
This release primarily adds "tennis" to the list of uncountable words so pluralization and singularization return it unchanged. The release notes only mention this word update, but the code diff also shows a Node.js support change and development dependency upgrades.
BreakingFeaturesv4.0.0
This release (v4.0.0) updates the pluralization logic to avoid appending an 's' for words ending in non-English characters, and it adds new examples/tests covering multiple scripts. The release notes describe only the behavioral rule change, but the code diff also reveals the exact matching criteria used to decide when to suppress plural 's'.
v3.1.0
v3.1.0 keeps original casing when a replacement token exactly matches the input token, and updates documentation and type annotations. The release notes also mention fixing the README singular example and correcting JSDoc type signatures.
v3.0.0
Version v3.0.0 refactors how the library handles plural words ending in "ies" by introducing a whitelist-driven rule strategy. Release notes also mention adding an irregular rule for has -> have.
Featuresv2.0.0
This release updates pluralize's inflection rules by adding additional uncountable nouns and adding was/were to irregular number agreement. Version metadata and packaging/CI configuration were also updated, though most of the diff is rule-table expansion rather than API logic changes.
Featuresv1.2.1
v1.2.1 updates the pluralize/singularize library with a targeted fix for singularizing plural words ending in "nies". It also refreshes the README with guidance on when to use pluralize, plus includes new test coverage for affected word forms.
Features