node-cron icon indicating copy to clipboard operation
node-cron copied to clipboard

Type-level CRON expressions validation

Open alexvictoor opened this issue 2 years ago • 0 comments

⭐ 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.

alexvictoor avatar Dec 17 '23 16:12 alexvictoor