ayshiff / myplura

👫This is my first npm module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

myplura  👫

Build Status Coverage Status

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

Installation

npm install myplura --save
yarn add myplura
bower install plura --save

Usage

Javascript

var plura = require('myplura');
var boys = plura.getPlural('Boy');
Output should be 'Boys'

TypeScript

import { getPlural } from 'myplura';
console.log(getPlural('Goose'))
Output should be 'Geese'

Test

npm run test

About

👫This is my first npm module

License:MIT License


Languages

Language:JavaScript 79.2%Language:TypeScript 20.8%