simple-pluralise
v1.0.1
Published
A very simple tool to pluralise words.
Downloads
2
Readme
Simple Pluralise
A very simple tool to pluralise words.
Example Usage
var pluralise = require('simple-pluralise');
// General Cases
pluralise(1, 'bot') // => 'bot'
pluralise(2, 'bots') // => 'bot'
// Custom plurals
pluralise(1, 'wolf', 'wolves') // => 'wolf'
pluralise(2, 'wolf', 'wolves') // => 'wolves'
License
MIT License