Skip to main content
Home
This release is 2 versions behind 0.8.4 — the latest version of @coven/cron. Jump to latest

@coven/cron@0.8.2
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
a month ago (0.8.2)
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>;