This release is 2 versions behind 0.8.4 — the latest version of @coven/cron. Jump to latest
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
⏳ Fantastic cron parser and constructor.
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
100%
Published
a month ago (0.8.2)
import type { AllToken } from "./AllToken.ts"; import type { ListField } from "./ListField.ts"; import type { ValueOrRangeField } from "./ValueOrRangeField.ts"; /** * Union of {@linkcode AllToken}, {@linkcode ValueOrRangeField} and {@linkcode ListField} * that represents a field in a cron expression. * * @see {@linkcode AllToken} * @see {@linkcode ValueOrRangeField} * @see {@linkcode ListField} */ export type Field<Value extends number> = | AllToken | ListField<Value> | ValueOrRangeField<Value>;