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
2 months ago (0.1.47)
class YelixValidationBase

Type Parameters

T = any

Properties

getType: "get" | "getAll"
meta: Record<string, any>
rules: ValidationRule[]

Methods

addRule(
title: string,
value: any,
rule: Rule,
failedMessage?: FailedMessage,
isTransformer?: boolean,
addToFirst?: boolean,
): this
addRules(rules: ValidationRule[]): this
protected
removeRule(title: string): void
setExampleInput<T>(data: T): this
setExampleOutput<T>(data: T): this
validate(
value: any,
config?: ValidateConfig,
): ValidateResult<T>

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 { YelixValidationBase } from "@murat/yelix";
or

Import directly with a jsr specifier

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