@mytee/pluralize
v1.0.2
Published
[![Build Status](https://travis-ci.org/mytee306/pluralize.svg?branch=master)](https://travis-ci.org/mytee306/pluralize)
Downloads
3
Readme
pluralize
A Node.js module that returns the plural form of any noun
Installation
npm install pluralize --save
yarn add pluralize
bower install pluralize --save
Usage
Javascript
var pluralize = require("pluralize")
var boys = pluralize.getPlural("Boy")
Output should be 'Boys'
TypeScript
import { getPlural } from "pluralize"
console.log(getPlural("Goose"))
Output should be 'Geese'
AMD
define(function(require, exports, module) {
const pluralize = require("pluralize")
})
Test
npm run test