Something went wrong. Try again.
Fast and tiny JavaScript/TypeScript cron parser with timezone support
Something went wrong. Try again.
Files
- TypeScript 98%
- JavaScript 2%
README.md
# cron-fast
[](https://www.npmjs.com/package/cron-fast)
[](https://www.npmjs.com/package/cron-fast)
[](https://www.npmjs.com/package/cron-fast)
[](https://jsr.io/@kbilkis/cron-fast)
[](https://jsr.io/@kbilkis/cron-fast)
[](https://github.com/kbilkis/cron-fast/actions/workflows/ci.yml)
[](https://codecov.io/github/kbilkis/cron-fast)
[](https://bundlejs.com/?q=cron-fast)
[](https://opensource.org/licenses/MIT)
**10x+ faster than the alternatives. 4KB gzipped. Zero dependencies.**
Fast and tiny JavaScript/TypeScript cron parser with timezone support. Works everywhere: Node.js, Deno, Bun, Cloudflare Workers, and browsers.
## Features
- **Parse & validate** - Convert cron expressions to structured data and check validity
- **Get execution times** - Calculate next, previous, or multiple scheduled runs
- **Match dates** - Check if a date matches a cron expression
- **Describe** - Convert cron expressions to human-readable text (e.g., "Every 5 minutes")
- **Timezone support** - Full IANA timezone support using native `Intl` API
- **CLI included** - Validate, preview, and describe expressions from the terminal
## Why cron-fast?
- **10x+ faster** than other popular cron libraries on scheduling operations
- **~8x smaller** bundle than the next most popular alternative (see [Bundle Size](#bundle-size) below)
- **Zero dependencies** — nothing to audit, nothing to break
- **Universal runtime** — same code in Node.js, Deno, Bun, Cloudflare Wo…