Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Extends the String native with inflector methods, like pluralize and singularize.
branch: master

Correcting version string

latest commit 37fa27a555
Stian Didriksen authored

README.md

String.Inflector

Extends the String native with inflector methods, like pluralize and singularize.

Screenshot

How to Use

Pluralize

#JS
"cookie".pluralize(); // "cookies"

Singularize

#JS
"databases".singularize(); // "database"

isSingular and isPlural

#JS
"tools".isSingular(); // false
"tools".isPlural();   // true
Something went wrong with that request. Please try again.