#820·node-cron

Type-level CRON expressions validation

Author: alexvictoorCreated Dec 17, 2023Updated Dec 17, 2023
Labelstype:feature

⭐ Suggestion

Hello! Thanks a lot for this great library! Would you be interested by a PR adding type-level validation to CRON expressions? I have already built a type level validator that seems to worked well with node-cron. Happy to discuss any issue and eager to get feedback.

Use Cases

No response

❌ Related Problems

I am using node-cron at my day job. Although we are quite fans of TDD in my team, the cron job configuration code is not covered by tests. One day I was in a hurry to push some batch changes... one of the cron expressions was invalid :( Would be great if this kind of accident could be avoided.