1.0.0 • Published 8 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 mypluralizeUsable
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 test1.0.0
8 years ago