1.0.0 • Published 4 years ago

@kyleb59/mypluralize v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

About

This is a typescript package that will pluralize most english words following a simple convention.

It can be found here This is NOT a production grade package, it is not maintained.

|

mypluralize

A Node.js module that returns the plural form of any noun## Installation

npm install mypluralize --save
yarn add mypluralize
bower install pluralize --save

```## Usage### Javascript```javascript
var pluralise = require('mypluralize');
var boys = pluralise.getPlural('Boy');
Output should be 'Boys'
```### TypeScript
```typescript
import { getPlural } from 'mypluralize';
console.log(getPlural('Goose'))
Output should be 'Geese'
```### AMD
```javascript
define(function(require,exports,module){
  var pluralise = require('mypluralize');
});
```## Test 
```bash
npm run test
1.0.0

4 years ago