21 Repos
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 ist ein Swift-Framework zum Parsen, Formatieren und Validieren internationaler Telefonnummern gemäß globaler Nummerierungsstandards. Es bietet ein System aus Nachschlagetabellen, strukturellen Parsern und Validierungstools, um die Komplexität internationaler Telefonnummerierung zu handhaben. Die Bibliothek wandelt Roh-Strings in strukturierte Objekte um, die Ländercodes und nationale Nummern enthalten. Sie übersetzt internationale Vorwahlen in vollständige Ländernamen und überprüft, ob Telefonnummern-Strings logisch möglich sind und spezifischen regionalen Nummerierungsplänen entsprechen. Das Projekt enthält Dienstprogramme zur Transformation von Rohziffern in standardisierte internationale oder nationale Layouts. Es bietet zudem Funktionen für Echtzeit-Benutzereingabe-Maskierung und die Anzeige regionsspezifischer Platzhalter und Flaggen während der Eingabe.
Parses, formats, and validates international phone numbers.
Libpostal ist eine C-Bibliothek für das Parsen und Normalisieren internationaler Adressen. Sie nutzt statistisches NLP und einen Sprachklassifikator, um unstrukturierte globale Adress-Strings in strukturierte Komponenten zu zerlegen und Straßenadressen durch das Auflösen von Abkürzungen und regionalen Namensvariationen über mehrere Sprachen hinweg zu standardisieren. Das Projekt bietet Tools für die Texttransliteration, um verschiedene Schriftsysteme in standardisierte Latin-ASCII- oder NFD-Formen zu konvertieren. Es enthält zudem Funktionen zur Adress-Deduplizierung, wobei symmetrisches Fuzzy-Matching verwendet wird, um zu identifizieren, ob verschiedene Adressdatensätze denselben physischen Ort referenzieren. Die Bibliothek deckt breitere Textverarbeitungsanforderungen ab, wie UTF-8-Normalisierung sowie die Konvertierung von ausgeschriebenen Zahlen und römischen Ziffern in numerische Darstellungen. Sie ermöglicht Erweiterungen der Adresserkennung durch externe Konfigurationsdateien, um neue Sprachen und Synonyme hinzuzufügen.
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.