Skip to main content
Home

@murat/yelix@0.1.47
Built and signed on GitHub Actions

Yelix is a powerful web server library built specifically for Deno, leveraging the Hono framework in the background. Including built-in data validation, OpenAPI 3.1 support, and auto-generated backend documentation.

This package works with Deno
This package works with Deno
JSR Score
82%
Published
3 months ago (0.1.47)
class DateZod

Constructors

new
DateZod(
_input: YelixInput,
config?: DateConfig,
)

Properties

Methods

age(
minAge: number,
failedMessage?: FailedMessage,
): this
enum(
enums: Date[],
failedMessage?: FailedMessage,
): this
format(
format: string | DateFormat,
failedMessage?: FailedMessage,
): this
future(failedMessage?: FailedMessage): this
private
getDayName(day: number): string
isDate(failedMessage?: FailedMessage): this
isValidType(failedMessage?: FailedMessage): this
max(
maxDate: Date | string,
failedMessage?: FailedMessage,
): this
min(
minDate: Date | string,
failedMessage?: FailedMessage,
): this
optional(): this
past(failedMessage?: FailedMessage): this
required(failedMessage?: FailedMessage): this
timezone(
timezone: string,
failedMessage?: FailedMessage,
): this
weekday(
days: number[],
failedMessage?: FailedMessage,
): this

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@murat/yelix

Import symbol

import { DateZod } from "@murat/yelix";
or

Import directly with a jsr specifier

import { DateZod } from "jsr:@murat/yelix";