I've been looking all over the internet for an NPM package that could achieve this, but I haven't been able to find one.
What I'm looking for is quite simple on the surface. A cron library that can translate a monthly cron job to human-readable text, while keeping it simple. So for example: if I put in 0 0 14 * *
, I want it to translate to "Monthly". Instead, this translates to "At 00:00 on day-of-month 14." which is an awkward string to display to users.
More examples would be:
0 8 * * *
should translate to "Daily"0 0 10 * *
should also translate to "Monthly"
I want to stay away from making my own proprietary library if possible. Does anyone know if there is any JS package out there that meets my requirements?