1.0.1 • Published 6 years ago

example-package-for-ts v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

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
1.0.1

6 years ago

1.0.0

6 years ago