GitShow/sindresorhus/plur
sindresorhus

plur

Pluralize a word

by sindresorhus
Star on GitHubForknpm

JavaScript

254 stars18 forks13 contributorsQuiet · 8mo agoSince 2015MIT

Meet the team

See all 13 on GitHub →
sindresorhus
sindresorhus34 contributions
ersel
ersel3 contributions
therealklanni
therealklanni2 contributions
AlexMeah
AlexMeah1 contribution
coreyfarrell
coreyfarrell1 contribution
cadam11
cadam111 contribution
Tyriar
Tyriar1 contribution
BendingBender
BendingBender1 contribution

Languages

View on GitHub →
JavaScript92.4%
TypeScript7.6%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Recent fixes

View closed PRs →
andrews05
Custom rulesClosedIssue

Hi, is there a way to define custom rules? E.g. pluralize => (just an example, not sure how plur actually handles this word right now)

andrews05 · 5mo ago
adrian05-ms
[Feature Request] Determine if a word is already plural or notClosedIssue

Hello, I was wondering if it was possible to add a feature that checks if the word that is being passed to plur is already plural or not. This is because if the text is coming from a third source, I don't have control on, it's hard to determine wherever it requires using plur or not. And if we pass the word as it is, it pluralizes the word without checking resulting in non-existent words. Like for example, currently If we pass "lines" it returns "linesess". By adding a check, we can ensure if this case doesn't happen and plur returns the word as it is. Something similar to the function from

adrian05-ms · 5mo ago
ghostwriter
Incorrect Pluralization ResultsClosedIssue

Hi, While testing the this library, several pluralization results were found to be incorrect. Below are the words that return an incorrect plural form and their correct counterparts:

ghostwriter · 8mo ago
Structured data for AI agents

Repository: sindresorhus/plur. Description: Pluralize a word Stars: 254, Forks: 18. Primary language: JavaScript. Languages: JavaScript (92.4%), TypeScript (7.6%). License: MIT. Open PRs: 0, open issues: 0. Last activity: 8mo ago. Top contributors: sindresorhus, ersel, therealklanni, AlexMeah, coreyfarrell, cadam11, Tyriar, BendingBender, fed, MrIceman and others.

·@ofershap

Replace github.com with gitshow.dev