My search for an NPM package that can handle this task has been fruitless so far. I am in need of a cron library that can convert a monthly cron job into easily readable text. For example, inputting 0 0 14 * *
should output "Monthly", rather than the current translation of "At 00:00 on day-of-month 14." which is not user-friendly.
Other examples include:
0 8 * * *
should be translated to "Daily"0 0 10 * *
should also translate to "Monthly"
I would prefer to avoid creating my own custom library if there is an existing JS package that fits my requirements. Does anyone know of such a package?