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>CronObject.ts
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>; };