jiange1-npmtest
v1.0.0
Published
model files generated from definitions
Downloads
4
Readme
npmtest
A Node.js module that returns the plural form of any noun
Installation
npm install npmtest --save
yarn add npmtest
bower install pluralize --save
Usage
Javascript
var pluralise = require('npmtest');
var boys = pluralise.getPlural('Boy');
Output should be 'Boys'
TypeScript
import { getPlural } from 'npmtest';
console.log(getPlural('Goose'))
Output should be 'Geese'
AMD
define(function(require,exports,module){
var pluralise = require('npmtest');
});
Test
npm run test