myp

mypluralize

A Node.js module that returns the plural or singular form of any noun

Showing:

Popularity

Downloads/wk

1

GitHub Stars

13

Maintenance

Last Commit

4yrs ago

Contributors

2

Package

Dependencies

2

License

ISC

Type Definitions

Built-In

Tree-Shakeable

No?

Categories

Readme

Build Status Coverage Status npm version

mypluralize

A Node.js module that returns the plural or singular form of any noun

Installation

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

Usage

JavaScript

var pluralise = require('mypluralize');
var boys = pluralise.getPlural('Boy');
console.log(boys);

var thief = pluralise.getSingular('Thieves');
console.log(thief);
Output should be 'Boys'
Output should be 'Thief'

TypeScript

import { getPlural } from 'mypluralize';
console.log(getPlural('Goose'))
console.log(getSingular('Guns'))
Output should be 'Geese'
Output should be 'Gun'

AMD

define(function(require,exports,module){
  var pluralise = require('mypluralize');
});

Test

npm run test

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial