pubtest1
v1.0.6
Published
[![Build Status](https://travis-ci.org/himsbrand/pubtest1.svg?branch=master)](https://travis-ci.org/himsbrand/pubtest1) [![Coverage Status](https://coveralls.io/repos/github/himsbrand/pubtest1/badge.svg?branch=master)](https://coveralls.io/github/himsbra
Downloads
9
Readme
pubtest1
A Node.js module that returns the plural form of any noun
Installation
npm install pubtest1 --save
yarn add pubtest1
bower install pluralize --save
Usage
Javascript
var pluralise = require('pubtest1');
var boys = pluralise.getPlural('Boy');
Output should be 'Boys'
TypeScript
import { getPlural } from 'pubtest1';
console.log(getPlural('Goose'))
Output should be 'Geese'
AMD
define(function(require,exports,module){
var pluralise = require('pubtest1');
});
Test
npm run test