0.6.0 • Published 6 years ago

libwords v0.6.0

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

libwords

libwords is a tiny library for word 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)) // => freebie

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

Documentation

0.6.0

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.2

6 years ago

0.2.2-0

6 years ago