libwords
libwords
is a tiny library for word utils.
DEVELOPMENT version
Usage
const ln = ; console // => 2 applesconsole // => matchesconsole // => queryconsole // => freebie
The second parameter in ln.wordSingular
is whether the word, if it ends in "ies", should end in 'y' or 'ie'.