>>> from pattern.en import quantify
>>> print quantify(['goose', 'goose', 'duck', 'chicken', 'chicken', 'chicken'])
>>> print quantify('carrot', amount=1000)
>>> print quantify({'carrot': 100, 'parrot': 20})
several chickens, a pair of geese and a duck
hundreds of carrots
dozens of carrots and a score of parrots
This is useful functionality to include. It's practically cheating to port Python to JavaScript so it shouldn't be hard to adapt the relevant parts of the code to your project. (Well, depending on how much of it depends on the pluralization/singularization portions of Pattern.)
Irony isn't a concept that lends itself to a trivial definition. That particular dictionary definition you cite isn't completely wrong, but it does suffer greatly from being overly terse.
Furthermore, dictionary definitions aren't two way streets, not everything that fits a description therefore matches the word. Imitate, the verb, can mean to make a copy of.
"Please wait while I imitate the receipt for you."
This is nice if you just want a really really lightweight date humanizer with no i18n support. If you want a full-blown date/time parser/formatter/humanizer, I highly recommend moment.js