awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
yiminghe avatar

yiminghe/async-validator

0
View on GitHub↗
9,099 stars·767 forks·TypeScript·MIT·3 vues

Async Validator

async-validator est une bibliothèque de validation de schéma JavaScript et un moteur de validation de données asynchrone. Il vérifie les structures d'objets complexes et les tableaux imbriqués en appliquant des règles récursives et une exécution non bloquante basée sur des promesses pour assurer l'intégrité des données.

La bibliothèque fonctionne à la fois comme un validateur de contraintes d'objet et un pipeline de transformation de données. Elle permet l'assainissement, la coercition et le formatage des valeurs d'entrée via une séquence de fonctions qui s'exécutent avant et après le processus de validation principal.

Le moteur couvre une gamme de capacités incluant la validation imbriquée récursive, l'application de contraintes de schéma standard et l'intégration de logique métier personnalisée via des fonctions de validation sur mesure. Il fournit également des outils pour la personnalisation des messages d'erreur et la localisation via des chaînes statiques ou des fonctions dynamiques.

Features

  • Asynchronous Validators - Executes validation rules as promises to allow for non-blocking remote checks and database lookups.
  • Asynchronous Validation - Provides a non-blocking validation engine that utilizes promises for checks requiring external network or database calls.
  • Schema Validation Libraries - Functions as a library for validating data objects against defined schemas using asynchronous logic.
  • Asynchronous Validation Execution - Uses a promise-based execution model to ensure slow or remote validation checks do not block the main thread.
  • Object Constraint Validation Engines - Checks objects against defined schemas and constraints to generate detailed reports of validation failures.
  • Custom Validation Rules - Offers a framework for extending validation logic with domain-specific checks via bespoke functions.
  • Asynchronous Validation Engines - Provides a validation system that processes complex object structures and nested arrays using non-blocking promise-based execution.
  • Custom Validation Functions - Provides support for executing both synchronous and asynchronous custom validation logic on specific object fields.
  • Data Logic Injection - Enables the integration of custom business logic into the validation process for data objects.
  • Recursive Object Validation - Recursively traverses nested object hierarchies and arrays to enforce structural correctness across deep data structures.
  • Runtime Schema Validations - Provides a runtime engine to verify that objects match predefined schemas and constraints during execution.
  • Data Transformation Pipelines - Implements a pipeline to sanitize, coerce, and format input values before and after the primary validation process.
  • Data Validation Schemas - Provides a comprehensive system for defining schemas and enforcing validation rules on JavaScript data objects.
  • Data Transformation Pipelines - Implements a sequence of transformation functions to sanitize and coerce input values before and after validation.
  • Constraint Mappings - Maps field descriptors to specific validator functions to enforce constraints based on types, patterns, and ranges.
  • JavaScript Schema Validation - Verifies complex data objects against defined rules and constraints to ensure structural integrity within JavaScript applications.
  • Form Validation - Provides asynchronous validation capabilities suitable for maintaining responsiveness in user-submitted form data.
  • Standard Constraints - Implements built-in rules for type checking, required fields, and range limits to ensure data integrity.
  • Value Transformations - Modifies input data values through transformation functions before and after the validation phase.
  • Dynamic Error Message Resolution - Generates human-readable error messages by resolving expected and actual values at runtime based on the failure context.
  • Pre-Validation Transformations - Applies sanitization and coercion transformations to input values before they are processed by validation rules.
  • Validation Error Customizations - Allows developers to override default error messages with localized or dynamic text during the validation process.
  • Data Validation - Asynchronous data validation.

Historique des stars

Graphique de l'historique des stars pour yiminghe/async-validatorGraphique de l'historique des stars pour yiminghe/async-validator

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait yiminghe/async-validator ?

async-validator est une bibliothèque de validation de schéma JavaScript et un moteur de validation de données asynchrone. Il vérifie les structures d'objets complexes et les tableaux imbriqués en appliquant des règles récursives et une exécution non bloquante basée sur des promesses pour assurer l'intégrité des données.

Quelles sont les fonctionnalités principales de yiminghe/async-validator ?

Les fonctionnalités principales de yiminghe/async-validator sont : Asynchronous Validators, Asynchronous Validation, Schema Validation Libraries, Asynchronous Validation Execution, Object Constraint Validation Engines, Custom Validation Rules, Asynchronous Validation Engines, Custom Validation Functions.

Quelles sont les alternatives open-source à yiminghe/async-validator ?

Les alternatives open-source à yiminghe/async-validator incluent : open-circle/valibot — Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments. jquense/yup — Yup is a JavaScript schema validation library used to define data shapes and validate runtime values. It functions as… imbrn/v8n — v8n is a JavaScript data validation library used to verify that values, objects, and arrays meet specific criteria. It… typestack/class-validator — class-validator is a TypeScript class validation library that uses decorators to define constraints and rules for… meteor-community-packages/meteor-simple-schema — This library provides a comprehensive system for defining data schemas and enforcing structural integrity within… logaretm/vee-validate — Vee-validate is a form validation library and state management tool for Vue applications. It enables the validation of…

Alternatives open source à Async Validator

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Async Validator.
  • open-circle/valibotAvatar de open-circle

    open-circle/valibot

    8,769Voir sur GitHub↗

    Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.

    TypeScriptbundle-sizemodularparsing
    Voir sur GitHub↗8,769
  • jquense/yupAvatar de jquense

    jquense/yup

    23,673Voir sur GitHub↗

    Yup is a JavaScript schema validation library used to define data shapes and validate runtime values. It functions as an object schema validator and a data coercion engine, allowing developers to transform raw input values into desired types before performing validation checks. The library is distinguished by its support for dynamic schema validation, where rules can be adjusted at runtime based on sibling field values or external context. It also enables recursive data structuring for polymorphic fields and provides a system for extracting static TypeScript interfaces from runtime schema def

    TypeScript
    Voir sur GitHub↗23,673
  • imbrn/v8nAvatar de imbrn

    imbrn/v8n

    4,145Voir sur GitHub↗

    v8n is a JavaScript data validation library used to verify that values, objects, and arrays meet specific criteria. It functions as a schema-based validator and an asynchronous validation engine, utilizing a fluent API to construct sequences of chainable rules and constraints. The framework is distinguished by its ability to execute promises and network requests during the validation process to determine if a value is valid. It allows for the creation of reusable validation schemas and provides a customizable rule framework where users can define their own logic and configure how error result

    JavaScript
    Voir sur GitHub↗4,145
  • typestack/class-validatorAvatar de typestack

    typestack/class-validator

    11,796Voir sur GitHub↗

    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

    TypeScriptdecoratorstypescriptvalidation
    Voir sur GitHub↗11,796
  • Voir les 30 alternatives à Async Validator→