All Projects → philipszdavido → mypluralize

philipszdavido / mypluralize

Licence: MIT License
A Node.js module that returns the plural or singular form of any noun

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects
typescript
32286 projects

Projects that are alternatives of or similar to mypluralize

Awesome Node Utils
some useful npm packages for nodejs itself
Stars: ✭ 51 (+292.31%)
Mutual labels:  npm-module, node-module
midtrans-node
Unoffficial Midtrans Payment API Client for Node JS | Alternative for Midtrans Official Module | https://midtrans.com
Stars: ✭ 15 (+15.38%)
Mutual labels:  npm-module, node-module
Singlespotify
🎵 Create Spotify playlists based on one artist through the command line
Stars: ✭ 254 (+1853.85%)
Mutual labels:  npm-module, node-module
Rando.js
The world's easiest, most powerful random function.
Stars: ✭ 659 (+4969.23%)
Mutual labels:  npm-module, node-module
Network Avatar Picker
A npm module that returns user's social network avatar. Supported providers: facebook, instagram, twitter, tumblr, vimeo, github, youtube and gmail
Stars: ✭ 74 (+469.23%)
Mutual labels:  npm-module, node-module
Node Loadbalance
A collection of distilled load balancing engines
Stars: ✭ 79 (+507.69%)
Mutual labels:  npm-module, node-module
ifto
A simple debugging module for AWS Lambda (λ) timeout
Stars: ✭ 72 (+453.85%)
Mutual labels:  npm-module, node-module
React-Pincode
A NPM module which auto fills City, District and State fields when a valid Zip Code in entered!
Stars: ✭ 26 (+100%)
Mutual labels:  npm-module
heic-convert
🤳 convert heic/heif images to jpeg and png
Stars: ✭ 104 (+700%)
Mutual labels:  npm-module
protocol-registry
This module allows you to set custom protocol handler for your nodejs app.
Stars: ✭ 45 (+246.15%)
Mutual labels:  npm-module
react-folder-tree
A versatile react treeview library that supports custom icons and event handlers
Stars: ✭ 56 (+330.77%)
Mutual labels:  npm-module
windows-network-drive
Do network drive stuff on Microsoft Window in node
Stars: ✭ 18 (+38.46%)
Mutual labels:  npm-module
incstr
Increment string or generate sequential string ids
Stars: ✭ 73 (+461.54%)
Mutual labels:  npm-module
node-health-check
Build health check functions which comply with the FT health check standard
Stars: ✭ 20 (+53.85%)
Mutual labels:  node-module
warframe-worldstate-parser
📗 An Open parser for Warframe's Worldstate in Javascript
Stars: ✭ 50 (+284.62%)
Mutual labels:  node-module
node-movehub
Node.js interface for the Lego Boost Move Hub 🤖 🐱 🎸 🚚
Stars: ✭ 57 (+338.46%)
Mutual labels:  node-module
oxford-dictionary
A nodeJS wrapper for using the oxforddictionary.com V2 REST API.
Stars: ✭ 28 (+115.38%)
Mutual labels:  node-module
docker-google-lighthouse-puppeteer
Google Lighthouse + Puppeteer / Docker Image
Stars: ✭ 29 (+123.08%)
Mutual labels:  npm-module
stalin-sort
A repressive sorting algorithm (not really sorting)
Stars: ✭ 13 (+0%)
Mutual labels:  npm-module
node-advanced
Node Advanced Courseware
Stars: ✭ 80 (+515.38%)
Mutual labels:  node-module

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].