0.2.0-dev • Published 6 years ago

libnouns v0.2.0-dev

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

libnouns

libnouns is a tiny library for noun utils.

DEVELOPMENT version

Usage

const ln = require("libnouns");

console.log(ln.plural(2, "apple")) // => 2 apples
console.log(ln.wordPlural("match")) // => matches
console.log(ln.wordSingular("queries")) // => query
console.log(ln.wordSingular("freebies", true)) // => freeebie

The second parameter in ln.wordSingular is whether the word, if it ends in "ies", should end in 'y' or 'ie'

0.2.2-0

6 years ago

0.2.1-1

6 years ago

0.2.1-0

6 years ago

0.2.0-dev

6 years ago

0.1.1-dev

6 years ago

0.1.0-dev

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago