@testapplications/sample
v1.0.7
Published
Sample
Downloads
12
Readme
mypluralize
A Node.js module that returns the plural form of any noun
Installation
npm install @testapplications/sample --save
yarn add @testapplications/sample
bower install @testapplications/sample --save
Usage
Javascript
var pluralise = require('testapplications/sample');
var boys = pluralise.getPlural('Boy');
Output should be 'Boys'
TypeScript
import { getPlural } from 'testapplications/sample';
console.log(getPlural('Goose'))
Output should be 'Geese'
AMD
define(function(require,exports,module){
var pluralise = require('testapplications/sample');
});
Test
npm run test