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