Singularize, Pluralize and Ordinalize English Words in JavaScript

Social Share Links

Tweet

Figuring out the singular and plural versions of words is a piece of cake when you use the inflection library. Stop wasting time wondering how to write a function that pluralizes words like mouse or cactus. And learn how the ordinalize function easily adds the correct suffix to numbers.