Pluralize Word
Super simple pluralizing, with optional schema for manually handling irregular words
; pluralizeWord'dog', 2;//=> '2 dogs'
API
pluralizeWord(subject, amount, options?)
subject
Type: string|string[]
Subject in the singular, or a schema array of ['singular', 'plural']
amount
Type: number
The amount of subjects
options
Type: object
Additional flags { excludeCount }
options.excludeCount
Type: boolean
Return only the modified subject without a leading count