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
2 months ago (0.3.3)
import type { DayOfMonth, DayOfWeek, Hours, Minutes } from "jsr:@coven/types@^0.3.3"; import type { Field } from "./Field.ts"; import type { MonthValue } from "./MonthValue.ts"; /** * Object that represents the 5 cron expression fields. * * @see {@linkcode Field} * @see {@linkcode MonthValue} */ export type CronObject = { readonly dayOfMonth: Field<DayOfMonth>; readonly dayOfWeek: Field<DayOfWeek>; readonly hour: Field<Hours>; readonly minute: Field<Minutes>; readonly month: Field<MonthValue>; };