A module that returns plural or singular form of any noun(-s). Full TypeScript support.
npm i plury
yarn add plury
import { getPlural, getSingular } from 'plury';
const boys = getPlural('Boy');
console.log(boys); // => 'Boys'
const thief = getSingular('Thieves');
console.log(thief); // => 'Thief'
import { getPlural, getSingular } from 'plury';
console.log(getPlural('Goose')); // => 'Geese'
console.log(getSingular('Guns')); // => 'Gun'
npm run test