7 个仓库
Validation rules that return promises to allow for external data lookups or network requests during the validation process.
Distinct from Data Validation: Distinct from general Data Validation by specifically providing a mechanism for asynchronous, promise-based constraint checks.
Explore 7 awesome GitHub repositories matching data & databases · Asynchronous Validators. Refine with filters or upvote what's useful.
class-validator is a TypeScript class validation library that uses decorators to define constraints and rules for object properties. It functions as a decorator-based schema validator that ensures data integrity and structural correctness through a combination of synchronous checks and promise-based asynchronous rules. The library provides a recursive validation system for checking complex data hierarchies, including nested classes and individual elements within collections. It includes an object property whitelist utility capable of stripping undocumented properties or blocking unknown field
Supports promise-based asynchronous rules for verifying data against external sources or databases.
Vee-validate is a form validation library and state management tool for Vue applications. It enables the validation of user inputs through declarative rules and tracks form metadata, including submission status and dirty states. The library functions as a wrapper for integrating external schema validation libraries to enforce consistent data shapes. It also serves as an internationalized framework for displaying translated error messages and localized feedback. The project covers broad capability areas including form state management, the handling of complex nested data structures, and the s
Provides validation rules that return promises to allow for remote server-side data verification during the input process.
async-validator 是一个 JavaScript 模式验证库和异步数据验证引擎。它通过应用递归规则和非阻塞的、基于 Promise 的执行来验证复杂的对象结构和嵌套数组,以确保数据完整性。 该库既充当对象约束验证器,也充当数据转换流水线。它允许通过在主要验证过程之前和之后运行的一系列函数来对输入值进行清洗、强制转换和格式化。 该引擎涵盖了一系列功能,包括递归嵌套验证、标准模式约束的强制执行,以及通过定制验证器函数集成自定义业务逻辑。它还提供了通过静态字符串或动态函数进行错误消息自定义和本地化的工具。
Executes validation rules as promises to allow for non-blocking remote checks and database lookups.
Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.
Supports asynchronous validation functions for checks involving promises or external lookups.
Vibora 是一个异步 Python Web 框架和内置 HTTP 服务器,旨在构建高性能 Web 应用。它利用异步事件循环和协程来处理网络请求并提供响应,无需外部服务器封装器。 该项目具有用于请求完整性的高性能异步模式验证器、支持热重载的非阻塞模板引擎,以及用于双向实时数据交换的 WebSocket 通信服务器。 该框架涵盖了广泛的功能,包括通过蓝图(blueprints)进行的模块化路由管理、应用组件的依赖注入,以及零拷贝 HTTP 解析。它还提供了用户会话管理、异步 HTML 渲染以及带有连接池的非阻塞 HTTP 客户端工具。 提供了一个用于项目引导的命令行界面,以生成标准化的目录结构和初始配置文件。
Supports asynchronous validation rules that allow database lookups during the request validation process.
v8n 是一款 JavaScript 数据验证库,用于验证值、对象和数组是否符合特定标准。它作为一个基于模式的验证器和异步验证引擎,利用流畅的 API 构建可链式调用的规则和约束序列。 该框架因其能够在验证过程中执行 Promise 和网络请求以确定值是否有效而脱颖而出。它允许创建可重用的验证模式,并提供了一个可自定义的规则框架,用户可以在其中定义自己的逻辑并配置如何返回错误结果。 该库涵盖了广泛的验证功能,包括针对原始类型和原型的数据类型验证、通过正则表达式和字符集的字符串内容验证,以及数值约束。它还支持复杂的对象验证、集合和数组元素验证,以及用于反转规则或处理可选值的条件逻辑。 该系统专为详细的错误收集而设计,根据每个定义的规则评估值,以收集完整的失败列表,而不是在第一个错误处停止。
Provides mechanisms for asynchronous validation checks that require external API calls or database lookups.
Validate.js is a JavaScript library designed for declarative data validation and form processing. It provides a framework for verifying complex objects and individual data points against structured constraint schemas, ensuring that application state and user input meet defined requirements. The library distinguishes itself through its support for asynchronous validation, allowing for verification tasks that require external data sources or server-side checks. It includes a built-in utility for extracting and normalizing data from web forms, which cleans input by removing whitespace and empty
Supports asynchronous validation rules that return promises to handle external server-side checks.