1.0.0 • Published 6 years ago

@lucasfurtado/pluralize v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

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