A (terrible) way to use Chronic in Node.
Crutch is a (terrible) way to use Chronic in NodeJS applications.
var parse = parse
Install via npm, thusly:
npm install crutch
** Ruby, Chronic, and JSON must be installed locally.
Honestly, because missing Chronic is keeping me from building shit in Node.
I didn't find one I considered "robust enough" when I looked.
"Crutch" is exactly that: something to lean on until it's no longer useful. I hope that's soon.
I might, but you probably wouldn't want to.
It spawns a ruby process, then uses JSON-RPC's ugly cousin to coax magic of Chronic#parse.