1.0.0 • Published 6 years ago
@lucasfurtado/pluralize v1.0.0
pluralize
A Node.js module that returns he plural form of any noun
Installation
npm install mypluralize --save
yarn add mypluralize
Usable
JavaScript
var pluralise = require('mypluralize');
var boys = pluralise.getPlural('Boy');
Output should be 'Boys'
TypeScript
import { getPlural } from 'mypluralize';
console.log(getPlural('Goose'))
Output should be 'Geese'
Test
npm run test
yarn run test
1.0.0
6 years ago