4 Repos
General purpose verification that user inputs meet specific numeric or string patterns.
Distinct from String Format Validators: Broader than just standard formats like emails; covers generic numeric and character pattern checks.
Explore 4 awesome GitHub repositories matching web development · Input Format Validations. Refine with filters or upvote what's useful.
1loc is a JavaScript utility library and multifaceted toolkit providing a collection of single-line functions for common mathematical, string, date, and geometric operations. It functions as a set of functional programming helpers and data validation predicates designed to perform atomic transformations and validations. The project includes a geometry math library for calculating distances, angles, and spatial overlaps between points and rectangles, alongside a text manipulation library for casting, capitalizing, and analyzing string content. The toolkit covers broader capability areas inclu
Implements validation logic to verify that numeric and string inputs meet specific criteria.
Inputmask is a JavaScript library that serves as a client-side input formatter and form input validator. It constrains text input fields to specific formats, such as phone numbers and dates, to ensure data consistency. The project provides guided text entry and user input validation to prevent formatting errors. It standardizes how structured information is entered in web browsers to support more reliable server-side processing. The library manages data validation and formatting by enforcing predefined patterns on user entry. It handles real-time input interception, cursor-position tracking,
Verifies that user inputs meet specific numeric or string patterns for phone numbers and dates.
This is a regular expression library designed for the validation and identification of mobile phone numbers from mainland China. It provides the structural rules and digit constraints necessary to verify that phone numbers follow the correct regional format. The library includes specific patterns to determine the telecommunications provider based on regional prefixes. It also features filters to distinguish between standard voice numbers and IoT or data-only plans. The project covers broad data validation capabilities, including input format verification and carrier identification.
Ensures user-provided phone numbers meet strict length and digit constraints before further processing.
CLI11 ist eine Header-only C++-Bibliothek zum Parsen von Befehlszeilenargumenten und zur Verwaltung von Konfigurationsdateien. Sie bildet Shell-Eingaben auf typisierte Variablen ab und unterstützt die Erstellung komplexer Befehlshierarchien. Die Bibliothek zeichnet sich durch die Unterstützung verschachtelter Unterbefehle mit unendlicher Tiefe und Präfix-Matching aus. Sie integriert Konfigurationsmanagement, indem sie das Laden von Anwendungseinstellungen aus TOML- oder INI-Dateien ermöglicht, mit der Option, auf Umgebungsvariablen zurückzugreifen. Das Projekt bietet ein umfassendes Set an Tools für das Argument-Parsing, einschließlich Flags und positioneller Argumente, sowie ein Validierungs-Framework zur Durchsetzung obligatorischer Optionen und gegenseitiger Abhängigkeiten. Es enthält zudem eine automatisierte Generierung von Hilfedokumentationen mit anpassbarer Formatierung und ein Callback-System, um benutzerdefinierte Logik während spezifischer Parsing-Phasen auszulösen. Diese abhängigkeitsfreie Bibliothek ist für C++11 und neuere Versionen konzipiert.
Checks and transforms user entries using predefined rules to ensure numeric constraints or required formats.