1.1.1 • Published 7 years ago
grammatical-numbers v1.1.1
grammatical-numbers
Easily switch between plural and singular based on a number
Install
$ npm install --save grammatical-numbers
Usage
const grammatical-numbers = require('grammatical-numbers');
var number = 5;
console.log(grammatical-numbers(number, 'singular', 'plural'));
Features
- Dumby tiny
See Also
- Inspired by this comment on Reddit
License
DWTFYW