Skip to main content

@coven/cron@0.3.3
Built and signed on GitHub Actions

⏳ Fantastic cron parser and constructor.

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 months ago (0.3.3)
Package root>Field.ts
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>;