21 repositorios
Libraries for validating user input and form data.
Explore 21 awesome GitHub repositories matching part of an awesome list · Input Validation. Refine with filters or upvote what's useful.
validator.js is a JavaScript string validation and sanitization library. It provides a set of functions to verify that strings match specific patterns—such as emails, URLs, and alphanumeric formats—and a toolkit for cleaning and transforming text input to remove prohibited characters and trim whitespace. The library includes utilities for standardizing email addresses by lowercasing domains and removing sub-addressing markers. It also functions as an HTML entity escaper, replacing special characters with entities to prevent the browser from executing text as code. The project covers capabili
Validates if text entries match required formats like emails, URLs, or phone numbers before processing.
This project provides a structured dataset of the administrative divisions of China, covering five levels from provinces down to villages. It delivers this geographical information in a standardized JSON format designed for data exchange and integration. The dataset is organized as a hierarchical source specifically for building cascading address selectors and region pickers. It uses linked data to enable sequential filtering from higher-level provinces down to village-level boundaries. The project covers geographic data management and regional data normalization. It provides the necessary m
Standardizes regional inputs using a consistent hierarchy of provinces, cities, districts, towns, and villages.
This project is a comprehensive guide to architectural standards and coding patterns for developing maintainable applications within the Laravel framework. It focuses on clean code standards, applying the single responsibility and DRY principles to ensure codebase predictability and consistency. The guide emphasizes decoupling components by moving business logic into service layers and shifting input validation into dedicated request classes to keep controllers lean. It advocates for the use of a service container and dependency injection to reduce class coupling and improve testability. The
Provides a strategy for moving validation logic into dedicated request classes to isolate it from execution flow.
This project is a jQuery-based form validation library designed to verify HTML form input values on the client side before submission. It functions as an input validator that enforces data integrity constraints through rule-based verification and value normalization. The library focuses on web accessibility compliance by linking error messages to input fields via ARIA attributes, ensuring that screen readers can announce validation failures to the user. The system supports the creation of custom validation rules and the transformation of raw input strings through a normalization pipeline. Co
Provides a front-end utility for normalizing input values and enforcing data integrity constraints.
Buefy is a lightweight user interface component library built for Vue.js. It serves as a programmatic wrapper for the Bulma CSS framework, providing a set of pre-styled layout utilities, form components, and structural wrappers to ensure a consistent visual identity. The library provides a comprehensive suite of form elements, including specialized date and time pickers, autocomplete inputs, and validation wrappers. It also includes layout tools such as navigation bars, off-canvas sidebars, and modal overlays, as well as notification systems for banners, snackbars, and toasts. Additional cap
Synchronizes validation states and error messages between form wrappers and their child input components.
Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.
Transforms raw input into a standardized format during the validation process.
Arktype is a TypeScript runtime validation library and schema orchestrator. It synchronizes TypeScript types with runtime data validation, allowing users to define type-safe schemas that ensure unknown data adheres to specific structures during application execution. The project distinguishes itself by using set-theory type analysis to determine intersections and subtype compatibility, alongside JIT-compiled validation functions for optimized performance. It supports advanced type modeling through branded type constraints, recursive alias resolution, and the ability to generate runtime valida
Checks input data against schemas and returns a typed output or throws an error for invalid data.
Promptui is a Go library for building interactive command-line prompts, providing components for collecting text input with validation, presenting scrollable selection lists, and enabling dynamic addition of list items. It serves as a toolkit for creating terminal user interfaces where users can navigate menus, search options, and enter text with live validation and masking. The library implements interactive prompts through a synchronous blocking I/O model combined with ANSI cursor control and terminal-event-driven rendering, allowing for real-time UI updates. Its template-driven output form
Collects single-line text input with live validation, default values, and masking for sensitive data.
PhoneNumberKit es un framework de Swift para analizar, formatear y validar números de teléfono internacionales de acuerdo con los estándares de numeración globales. Proporciona un sistema de tablas de búsqueda, analizadores estructurales y herramientas de validación para manejar las complejidades de la numeración telefónica internacional. La biblioteca convierte cadenas sin procesar en objetos estructurados que contienen códigos de país y números nacionales. Traduce códigos de marcación internacionales en nombres de países completos y verifica si las cadenas de números de teléfono son lógicamente posibles y cumplen con planes de numeración regionales específicos. El proyecto incluye utilidades para transformar dígitos sin procesar en diseños internacionales o nacionales estandarizados. También proporciona capacidades para el enmascaramiento de entrada de usuario en tiempo real y la visualización de marcadores de posición y banderas específicos de la región a medida que el usuario escribe.
Parses, formats, and validates international phone numbers.
Libpostal es una biblioteca en C diseñada para el análisis y normalización de direcciones internacionales. Utiliza PNL estadística y un clasificador de idiomas para descomponer cadenas de direcciones globales no estructuradas en componentes estructurados y estandarizar direcciones postales expandiendo abreviaturas y resolviendo variaciones regionales de nombres en múltiples idiomas. El proyecto proporciona herramientas para la transliteración de texto, convirtiendo varios alfabetos en formas estándar Latin-ASCII o NFD. También incluye capacidades para la deduplicación de direcciones, utilizando coincidencia difusa (fuzzy matching) simétrica para identificar si diferentes registros de direcciones se refieren a la misma ubicación física. La biblioteca cubre necesidades de procesamiento de texto más amplias, como la normalización UTF-8 y la conversión de números escritos y números romanos a representaciones numéricas estándar. Permite extensiones para el reconocimiento de direcciones mediante archivos de configuración externos para añadir nuevos idiomas y sinónimos.
Standardizes unstructured address inputs into a consistent, canonical format for improved search and matching.
ozzo-validation is a programmable data validation library for Go that verifies structs, maps, and primitive types using a declarative, rule-based approach. It functions as an interface-based validator, allowing for the recursive checking of nested data structures and custom types without the use of struct tags. The framework distinguishes itself as a context-aware validation engine, supporting the propagation of request-scoped data to rules that depend on external state. It provides extensive extensibility through custom rule definitions and the ability to override default failure text with l
Supplies a set of rules for checking required fields, formats, and allowed values in user-provided data.
qsv is a high-performance command line toolkit for querying, transforming, and analyzing comma-separated value files. It functions as a data wrangling interface and a tabular data profiler, featuring a query engine capable of executing SQL statements and joins directly on flat files without requiring a database. The project is distinguished by its ability to process massive datasets that exceed available system memory. This is achieved through disk-based external memory processing, including multithreaded merge sorting, on-disk hash tables for deduplication, and lightweight file indexing for
Reads data with specific quoting or transcoding rules to standardize input for processing.
Pothos is a code-first GraphQL schema builder and framework designed for type-safe development. It allows developers to construct schemas using typed definitions in TypeScript, eliminating the need for external code generation steps. The framework distinguishes itself through a dedicated data mapper that connects GraphQL types to relational databases and ORMs, such as Prisma, while optimizing query resolution. It provides a full implementation of the Relay specification, including global object identification and cursor-based pagination. The project covers several core capability areas, incl
Checks GraphQL field arguments and input objects using schema-based libraries to ensure data conforms to constraints.
A rule-based validation library for Swift
Rule-based validation library.
Easily validate your Properties with Property Wrappers 👮
Property wrapper-based validation.
User input masking library repo.
Pattern-based user input formatting and validation.
A framework to validate inputs of text fields and text views in a convenient way.
Validates text field and text view inputs.
String (and more) validation for iOS
String validation library.
Easy to Use, Read, Extensible, Flexible Validation Checker
Simple and flexible validation checker.
An UITextField subclass to simplify country code's picking. Swift 5.0
Text field subclass for picking country codes.