24 个仓库
Tools for verifying that strings match standard formats like emails, URLs, and phone numbers.
Distinct from String Format Specification: Candidates focus on format string exploits or specification analysis rather than input format validation.
Explore 24 awesome GitHub repositories matching web development · String Format Validators. Refine with filters or upvote what's useful.
This is a Go struct validation library used to maintain data integrity by enforcing constraints on fields, slices, and maps. It functions as a schema validation tool and data integrity validator, ensuring that complex nested structures adhere to predefined rules. The library utilizes struct tags to configure validation logic at runtime and supports a custom function registry for extending validation rules. It is distinguished by its ability to perform cross-field dependency evaluation, allowing the comparison of values between different fields within the same data structure to ensure logical
Ensures strings adhere to specific character sets, casing, and patterns, including alphanumeric and unicode checks.
This project is a UUID generation library providing a standards-compliant implementation of RFC 4122. It serves as a tool for creating and validating universally unique identifiers across multiple versions to ensure global uniqueness and prevent data collisions. The library supports several generation methods, including random-based entropy, timestamp sequencing, and namespace-based hashing. It also includes utilities for identifier validation, parsing, and converting identifiers between hexadecimal string representations and binary byte arrays. A command line utility is included for the man
Validates UUID string formats and identifies the specific version of the standard being used.
is.js is a JavaScript validation library and data type checker. It provides a suite of utilities to verify whether variables are primitives, arrays, functions, or specific object types. The project allows for the implementation of custom validation logic and the use of naming namespaces to override default rules and regular expressions. It covers a broad range of validation capabilities, including numeric arithmetic properties, date and time analysis for relative and absolute ranges, and string format verification for patterns such as emails, URLs, and IP addresses. The library also includes
Verifies if a string matches specific patterns such as emails, URLs, credit cards, IP addresses, or phone numbers.
Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.
Verifies that a string is a valid Base64 encoded sequence.
Any-rule is a multi-platform regular expression tool that provides a curated catalog of over 70 ready-to-use patterns for validating and extracting common data formats. The project separates its static regex collection from editor-specific plugins, allowing the same pattern library to be accessed through VS Code, IntelliJ IDEA, Alfred Workflow, and a web interface. The tool enables keyword-based pattern retrieval, letting users search for the correct regex by typing descriptive terms rather than remembering exact syntax. It covers a broad range of validation needs including email addresses, U
Provides over 70 ready-to-use regex patterns for validating common data formats like emails, URLs, and dates.
pysheeet 是一个技术参考库,提供了一系列精选的代码片段和实现模式,用于高级 Python 开发、系统集成和高性能计算。它充当实现底层网络编程、原生 C 扩展以及异步和并发编程的综合指南。 该项目为大语言模型的开发和部署提供了专门的框架,包括用于分布式 GPU 推理和高性能服务的工具。它还包括用于高性能计算集群编排的详细模式,涵盖 GPU 资源分配和多节点工作负载管理。 该库涵盖了广泛的功能,包括安全网络通信和加密、对象关系映射和数据库管理,以及复杂数据结构和算法的实现。它还提供用于内存管理、通过外部函数接口(FFI)进行原生互操作以及系统级 OS 集成的实用程序。
Implements validation logic to check strings against standard formats like emails, URLs, and passwords.
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
Provides built-in validators for common string formats such as emails, UUIDs, URLs, and ISO dates.
This project is a front-end interview study guide and a collection of structured notes designed for technical job preparation. It serves as a comprehensive reference for web technologies, common technical interview questions, and JavaScript algorithm implementation. The notebook distinguishes itself by integrating specialized guides for web performance optimization, browser API documentation, and JavaScript algorithm references. It provides a structured approach to solving coding challenges involving data structures like binary trees, linked lists, and array manipulation. The content covers
Implements a common interview algorithm to validate palindrome strings.
This PHP assertion library is a runtime data validator used to verify method inputs and outputs. It provides a toolkit for validating data types, numeric ranges, and string patterns during program execution to prevent invalid states. The project serves as a static analysis helper by providing type hints and annotations that improve the accuracy of formal verification tools. It includes a collection validation utility for applying rules across arrays or iterable collections, and a filesystem validation tool to verify path existence and read or write permissions. The library covers a broad ran
Verifies that strings match standard formats like emails and UUIDs using regular expressions.
Proxyman is a cross-platform HTTP debugging proxy that captures, inspects, and modifies HTTP, HTTPS, and WebSocket traffic. It functions as a man-in-the-middle proxy, decrypting SSL/TLS traffic to allow real-time inspection and modification of encrypted requests and responses. The tool is designed for debugging web and mobile applications, with capabilities for API mocking and simulation, scriptable traffic modification, and team collaboration on network logs. What distinguishes Proxyman is its deep integration with mobile and cross-platform development workflows. It provides automated certif
Uses regular expressions to validate whether strings consist solely of numeric characters.
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.
Go Package of validators and sanitizers for strings, numerics, slices and structs
Tests whether strings match standard formats like email, URL, IP address, UUID, or credit card number.
This is an RFC 4122 UUID package for Go that generates, parses, and validates universally unique identifiers. It provides a library for creating UUIDs that conform to standard formatting rules, along with utilities for inspecting UUID properties such as variant, version, and nil status. The package supports DCE 1.1 Security Extension UUID generation and parsing, and includes byte-level UUID construction by directly manipulating 16-byte arrays with version and variant bits. It validates UUID strings against RFC 4122 formatting rules, including hyphens and hexadecimal characters, and can detect
Validates UUID string format including hyphens and hexadecimal characters.
TypeSpec is a language for defining cloud API shapes and generating OpenAPI, JSON Schema, and client/server code from a single source of truth. It functions as a protocol-agnostic API designer that models REST, gRPC, and other API protocols using a unified, extensible syntax, with a decorator-based metadata system for attaching metadata, validation rules, and lifecycle visibility to API models and operations. The compiler produces OpenAPI 3.0 specifications and other artifacts, and the tool supports declaring API versions and tracking changes to models, properties, and operations across releas
Restricts string values to known formats like URLs for consistent validation and code generation.
Lancet 是 Go 标准库的全面扩展,提供了一系列可复用的函数和数据结构,旨在减少应用中的样板代码。它是一个跨多个领域的通用工具包,包括并发、安全、网络和函数式逻辑。 该项目的特色在于针对 Go 并发的专用工具包(如键控锁和基于通道的流处理),以及支持柯里化和函数组合的专用函数式编程套件。它还包含一个使用 AES、RSA 和 SM 标准实现对称和非对称加密的专用密码学库。 该库涵盖了广泛的功能领域,包括 LRU 缓存和二叉搜索树等高级数据结构、代数和统计数学计算,以及用于进程和文件管理的操作系统集成。它还提供了用于 HTTP 网络、日期和时间操作,以及集合代数和惰性流求值等高级数据处理的实用程序。
Includes validators for verifying string formats such as emails, URLs, credit cards, and IP addresses.
本项目是一个 JSON Schema 验证库和框架,用于验证数据实例是否符合声明性定义。它作为一个验证引擎,强制执行结构约束和数据类型,同时也作为一个元验证器,确保模式定义本身在语法上符合官方元模式。 该库专为可扩展性而设计,允许用户通过将模式关键字映射到专门的可调用函数来定义自定义验证逻辑。它包括一个基于注册表的引用解析器,用于管理内部和外部 URI 引用,以便在不同文档间重用子模式。 该系统涵盖了广泛的验证功能,包括数据类型验证、针对电子邮件和 UUID 等类型的字符串格式检查,以及全面的错误报告。诊断工具提供嵌套错误跟踪和启发式过滤,以识别数据结构中最相关的失败。
Uses optional extended dependencies to provide enhanced validation for specialized string formats.
本项目是 JSON Schema 规范的 Python 实现,提供了一个用于验证数据实例是否符合定义模式的库。它作为一个数据验证框架,能够验证数据本身以及模式是否符合官方元模式,以确保结构正确性。 该库具有一个模式引用解析器,可将 URI 映射到定义,从而实现用于模块化模式管理的内部和远程引用解析。它专为可扩展性而设计,允许定义自定义关键字、自定义类型检查逻辑,并为专门的字符串格式注册新的验证函数。 该系统提供全面的错误报告,可识别数据实例中的所有违规行为,并将它们组织成树状层次结构。这允许对验证失败进行程序化查询、诊断元数据提取以及基于数据层次结构识别主要错误。 该实现通过特定版本的验证器类和模式方言规范支持多种规范草案。
Verifies that strings conform to predefined standard formats such as email addresses or IP addresses.
这是一个正则表达式库,旨在验证和识别中国大陆的手机号码。它提供了验证手机号码是否符合正确区域格式所需的结构规则和数字约束。 该库包含特定的模式,可根据区域前缀确定电信运营商。它还具有过滤器,用于区分标准语音号码与物联网或纯数据套餐。 该项目涵盖了广泛的数据验证功能,包括输入格式验证和运营商识别。
Ensures user-provided phone numbers meet strict length and digit constraints before further processing.
Open Location Code 是一个地理编码库和工具集,用于将全球经纬度坐标转换为标准化的、人类可读的字母数字数字地址,反之亦然。它作为一个离线位置编码系统,为地球上的任何位置生成唯一标识符,专门为缺乏正式街道地址或邮政系统的地区提供数字地址。 该系统作为无状态算法过程运行,允许在无需网络访问、互联网连接或外部数据库查找表的情况下对坐标进行编码和解码。它利用基于参考的缩短方式,通过省略基于附近参考点的公共前缀来减少地理标识符的长度。 该库包括用于双向地理编码转换和代码操作的实用工具。这些能力涵盖了位置字符串的验证、从缩短版本中恢复完整代码,以及将坐标转换为字母数字字符的分层网格。
Verifies whether a string is a valid sequence or a complete and well-formed location code.