pluralize_demo
v1.0.3
Published
It just takes a string with lowercase letters and returns a word with all capital letters.
Downloads
5
Readme
pluralize_demo
A Node.js module that returns the plural form of any noun
Installation
npm install pluralize_demo --save
yarn add pluralize_demo
bower install pluralize --save
Usage
Javascript
var pluralise = require('pluralize_demo');
var boys = pluralise.getPlural('Boy');
Output should be 'Boys'
TypeScript
import { getPlural } from 'pluralize_demo';
console.log(getPlural('Goose'))
Output should be 'Geese'
AMD
define(function(require,exports,module){
var pluralise = require('pluralize_demo');
});
Test
npm run test