awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
imbrn avatar

imbrn/v8n

0
View on GitHub↗
4,145 stele·105 fork-uri·JavaScript·MIT·8 vizualizăriimbrn.github.io/v8n↗

V8n

v8n este o bibliotecă de validare a datelor JavaScript utilizată pentru a verifica dacă valorile, obiectele și array-urile îndeplinesc criterii specifice. Funcționează ca un validator bazat pe schemă și un motor de validare asincron, utilizând un API fluent pentru a construi secvențe de reguli și constrângeri înlănțuibile.

Framework-ul se distinge prin capacitatea sa de a executa promise-uri și cereri de rețea în timpul procesului de validare pentru a determina dacă o valoare este validă. Permite crearea de scheme de validare reutilizabile și oferă un framework de reguli personalizabil unde utilizatorii își pot defini propria logică și pot configura modul în care sunt returnate rezultatele erorilor.

Biblioteca acoperă o gamă largă de capabilități de verificare, inclusiv verificarea tipului de date pentru primitive și prototipuri, validarea conținutului șirurilor prin regex și seturi de caractere, și constrângeri numerice. De asemenea, suportă verificarea obiectelor complexe, validarea elementelor de colecție și array, și logica condiționată pentru inversarea regulilor sau gestionarea valorilor opționale.

Sistemul este conceput pentru colectarea detaliată a erorilor, evaluând valorile față de fiecare regulă definită pentru a aduna o listă completă de eșecuri în loc să se oprească la prima eroare.

Features

  • Fluent Validation Rules - Ships a fluent API that allows developers to construct validation pipelines through a sequence of chainable methods.
  • JavaScript Schema Validation - Provides a library to verify complex JavaScript object structures against defined rules and constraints.
  • Data Validation Libraries - Functions as a tool for parsing and validating JavaScript data structures against predefined schemas.
  • Asynchronous Validators - Provides mechanisms for asynchronous validation checks that require external API calls or database lookups.
  • Asynchronous Validation Pipelines - Supports asynchronous validation rules that execute promises, enabling network requests and database lookups during the verification process.
  • Asynchronous Validation Engines - Implements a non-blocking engine that processes complex object structures using recursive rules and promises.
  • Asynchronous Validators - Supports custom validation rules that return promises for performing asynchronous external lookups.
  • Customizable Validation Frameworks - Provides a framework for creating user-defined validation logic and configuring how error results are returned.
  • Data Type Validation - Checks if a value matches a specific type or prototype constructor to ensure data conforms to expected structures.
  • Collection Constraints - Includes checks for the length of arrays or strings and verifies if they contain specific required items.
  • Element-Level Validation - Provides capabilities to ensure that individual elements within a collection satisfy specific validation rules.
  • Object Structure Validations - Provides capabilities to verify that objects conform to specific key-value patterns and strictly manage unauthorized properties.
  • Strict Object Validation - Ensures objects conform to specific key-validation pairs and supports strict property checking.
  • Cumulative Error Collection - Implements a validation engine that gathers all failures in a rule chain instead of short-circuiting after the first error.
  • Numeric Constraint Validation - Verifies numeric constraints including integer status, positivity, parity, and specific range boundaries.
  • Chainable Validation APIs - Uses a chainable API pattern to declaratively specify multiple validation rules and sanitizers.
  • Schema Composition Libraries - Provides a compositional approach to building complex validation structures by nesting and chaining reusable schema primitives.
  • String Content Constraints - Verifies string properties such as case, character sets, regex patterns, and specific start or end characters.
  • Reusable Data Schemas - Allows for the creation of reusable validation schemas to maintain consistent data constraints across applications.
  • Custom Validation Rules - Offers a framework for extending the library with user-defined validation logic via a chainable interface.
  • Data Validation Schemas - Allows exporting pre-configured validation chains as reusable modules to maintain consistent constraints.
  • Error Handling Strategies - Implements configurable strategies for how validation results are returned to the application.
  • Dynamic Type Checking - Determines the data type of a value at runtime using prototypes and native types to drive validation logic.
  • Validation Control Flow - Provides conditional logic to invert rule results, handle optional values, or require at least one passing validation.
  • Validation Output Modes - Allows switching the validation output mode between boolean values, detailed error lists, or thrown exceptions.
  • Data Validation - Fluent JavaScript validation library.

Istoric stele

Graficul istoricului de stele pentru imbrn/v8nGraficul istoricului de stele pentru imbrn/v8n

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Întrebări frecvente

Ce face imbrn/v8n?

v8n este o bibliotecă de validare a datelor JavaScript utilizată pentru a verifica dacă valorile, obiectele și array-urile îndeplinesc criterii specifice. Funcționează ca un validator bazat pe schemă și un motor de validare asincron, utilizând un API fluent pentru a construi secvențe de reguli și constrângeri înlănțuibile.

Care sunt principalele funcționalități ale imbrn/v8n?

Principalele funcționalități ale imbrn/v8n sunt: Fluent Validation Rules, JavaScript Schema Validation, Data Validation Libraries, Asynchronous Validators, Asynchronous Validation Pipelines, Asynchronous Validation Engines, Customizable Validation Frameworks, Data Type Validation.

Care sunt câteva alternative open-source pentru imbrn/v8n?

Alternativele open-source pentru imbrn/v8n includ: open-circle/valibot — Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments. yiminghe/async-validator — async-validator is a JavaScript schema validation library and asynchronous data validation engine. It verifies complex… jquense/yup — Yup is a JavaScript schema validation library used to define data shapes and validate runtime values. It functions as… hapijs/joi — Joi is a JavaScript data validation library used to define schemas that validate, cast, and sanitize data objects. It… meteor-community-packages/meteor-simple-schema — This library provides a comprehensive system for defining data schemas and enforcing structural integrity within… ianstormtaylor/superstruct — Superstruct is a JavaScript and TypeScript data validation library used to verify that data structures match defined…

Alternative open-source pentru V8n

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu V8n.
  • open-circle/valibotAvatar open-circle

    open-circle/valibot

    8,769Vezi pe GitHub↗

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

    TypeScriptbundle-sizemodularparsing
    Vezi pe GitHub↗8,769
  • yiminghe/async-validatorAvatar yiminghe

    yiminghe/async-validator

    9,099Vezi pe GitHub↗

    async-validator is a JavaScript schema validation library and asynchronous data validation engine. It verifies complex object structures and nested arrays by applying recursive rules and non-blocking, promise-based execution to ensure data integrity. The library functions as both an object constraint validator and a data transformation pipeline. It allows for the sanitization, coercion, and formatting of input values through a sequence of functions that run before and after the primary validation process. The engine covers a range of capabilities including recursive nested validation, the en

    TypeScript
    Vezi pe GitHub↗9,099
  • jquense/yupAvatar jquense

    jquense/yup

    23,673Vezi pe 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
    Vezi pe GitHub↗23,673
  • hapijs/joiAvatar hapijs

    hapijs/joi

    21,192Vezi pe GitHub↗

    Joi is a JavaScript data validation library used to define schemas that validate, cast, and sanitize data objects. It functions as an object schema validator and parser, ensuring that input data matches specific types and formats before it is processed by an application. The library features a conditional validation engine capable of dynamic schema enforcement, where validation logic and dependencies change based on the values of other keys within an object. It also serves as a data casting and sanitization tool, transforming input values into target types and removing sensitive keys from the

    JavaScripthapijavascriptschema
    Vezi pe GitHub↗21,192
  • Vezi toate cele 30 alternative pentru V8n→