# harrisiirak/cron-parser

Typescript library for parsing crontab instructions

Repository: https://github.com/harrisiirak/cron-parser
Canonical: https://ross.abutalabs.com/products/cron-parser
Homepage: http://harrisiirak.github.io/cron-parser/
Language: TypeScript
License: MIT
License Family: permissive
Topics: cron, crontab, cron-parser, crontab-format, cron-expression, cronjob, typescript, typescript-library
Last push: 2026-08-18T17:34:06+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 98, longevity 100
- inputs: {"age_days": 4998, "days_push": 15, "days_rel": 19, "gap_med": 7, "n_releases_24m": 22}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1491, forks 167 (observed 2026-08-28T04:04:52.526771+00:00)

## What it is
A TypeScript/JavaScript library for parsing and manipulating cron expressions. It supports timezone handling, DST transitions, predefined expressions like @daily, and iterating over scheduled occurrence dates.

## Use cases
- parse cron expressions in node.js
- calculate next run time for a cron job
- iterate over cron schedule occurrences
- handle cron schedules across timezones and DST
- validate user-provided crontab strings
- convert @daily style expressions to cron fields

## When to choose
- you need robust cron expression parsing with timezone and DST support in Node.js or TypeScript
- you want to enumerate future execution times of a cron schedule
- you need support for extended syntax like L, #, and H

## When to avoid
- you need an actual job scheduler that runs tasks (use a scheduler like node-cron or BullMQ)
- you are not on a JavaScript/TypeScript runtime
- you need parsing of systemd timers or other non-crontab schedule formats

## Facets
- artifact type: library
- maturity: active
- function: parser, scheduling, date-time, developer-tools
- domain: developer-tools, backend
- platform: cross-platform, cli
- tags: cron, crontab, cron-expression, typescript, timezone-support, dst-handling, iterator, automation, command-line, nodejs

## Member repositories
- harrisiirak/cron-parser (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:52.526771+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:33:34.497070+00:00, confidence not recorded.
  - readme: https://github.com/harrisiirak/cron-parser (fetched 2026-08-28T04:04:52.526771+00:00, sha cd686c0b4f34)
  - homepage: http://harrisiirak.github.io/cron-parser/ (fetched 2026-08-29T11:39:43.056534+00:00, sha 65f22c653ee9)
  - registry_npm: https://registry.npmjs.org/cron-parser (fetched 2026-08-29T11:39:43.065641+00:00, sha 50e966b2ec8d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
