Cron Expression Parser
JSON →cron-parser is a robust Node.js library for parsing, validating, and iterating over cron expressions. It currently stands at stable version 5.5.0 and demonstrates a consistent release cadence with frequent updates addressing bug fixes, performance improvements, and new features like the `H` (hashed value) syntax. Key differentiators include comprehensive timezone support, intelligent handling of Daylight Saving Time (DST), and an iterator-based API for easily generating future schedule dates. It supports both standard cron formats and several special characters like `L` (last day), `#` (nth day of week), and `H` (randomized values), alongside predefined expressions such as `@daily` and `@hourly`. The library is ESM-first and requires Node.js >= 18 and TypeScript >= 5.
Traffic · last 30 days ↓18% vs prev 7d
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇩🇪 Germany · 🇨🇦 Canada · 🇮🇩 Indonesia