Naively pluralize a word
$ npm install --save plur
var plur = require('plur'); plur('unicorn', 4); //=> 'unicorns' plur('hero', 'heroes', 4); //=> 'heroes'
Type: string
Word to pluralize.
Type: string
Default: word
+ s
Pluralized word.
Type: number
Count to determine whether to use singular or plural.
MIT © Sindre Sorhus