-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inflection Support #289
Inflection Support #289
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL: Plural of regex.
Code looks good... would you be able to update the docs & typescript typings as well? <3
Yeah sure thing. |
Sweet! Thanks! |
btw @skellock the plural of regex is regexen: https://en.wiktionary.org/wiki/regex Should I fix? |
Excellent. We should update the readme too; I'm happy to do that before releasing. |
🎉 This PR is included in version 0.22.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR adds pluralize as a dependency and exposes it's functions under string utils. Adding the following functions:
plural
singular
addPluralRule
addSingularRule
addIrregularRule
addUncountableRule
isPlural
isSingular