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 AbstractValidationBase

Type Parameters

T = any

Properties

abstract
getType: "get" | "getAll"
abstract
rules: ValidationRule[]
abstract
type: string

Methods

abstract
addRule(
title: string,
value: any,
rule: Rule,
failedMessage?: FailedMessage,
isTransformer?: boolean,
addToFirst?: boolean,
): this
abstract
addRules(rules: ValidationRule[]): this
abstract
hasRule(title: string): boolean
protected
abstract
removeRule(title: string): void
abstract
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 { AbstractValidationBase } from "@murat/yelix";
or

Import directly with a jsr specifier

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