Hi! Hope you like it ๐
Requires npx or npm >= 5.2.0
npx @gmunguia/cron-parser HH:MM < config
mkdir cron-parser && cd cron-parser
npm install @gmunguia/cron-parser
node_modules/.bin/cron-parser HH:MM < config
tar -xzf cron.tar.gz
cd cron-parser
chmod +x ./cli.js
./cli.js HH:MM < config
Given more time, I would have liked to validate input.
If performance was important (which is probably not in a script like this one), I would also optimize FuzzyTime.nextTime
function.