String.prototype.singularize >= 0.1.0

Purpose

Singularize a string

Syntax

String#singularize ( );

Return values

String

English language nouns are returned in singular form

Examples

'buses'.singularize();>>> "bus"

'windows'.singularize();>>> 'window'

'octopi'.singularize();>>> 'octopus'