awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

12 个仓库

Awesome GitHub RepositoriesEmpty Value Validations

Checks that a value is empty across multiple types and rejects it if content is present.

Distinct from Runtime Value Validation: Distinct from Undefined or Null validation as it covers a broader concept of 'emptiness' (e.g., empty strings or arrays) rather than just absence of value.

Explore 12 awesome GitHub repositories matching software engineering & architecture · Empty Value Validations. Refine with filters or upvote what's useful.

Awesome Empty Value Validations GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • sindresorhus/type-festsindresorhus 的头像

    sindresorhus/type-fest

    17,233在 GitHub 上查看↗

    type-fest is a library of reusable utility types for performing complex transformations and validations on objects, arrays, strings, and numeric ranges in TypeScript. It provides a collection of type definitions designed to handle advanced structural changes and constraints. The project distinguishes itself by offering specialized logic for string literal processing, such as casing transformations and pattern-based modifications, and type-level arithmetic for calculating numeric ranges and absolute values. It also includes utilities for enforcing deep immutability, ensuring union mutual exclu

    Restricts a value to be a strictly empty plain object, preventing arrays, primitives, or properties.

    TypeScriptnpm-packagetypestypescript
    在 GitHub 上查看↗17,233
  • open-circle/valibotopen-circle 的头像

    open-circle/valibot

    8,769在 GitHub 上查看↗

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

    Deno Valide checks that a value is empty across different types and returns an error if content exists.

    TypeScriptbundle-sizemodularparsing
    在 GitHub 上查看↗8,769
  • django-oscar/django-oscardjango-oscar 的头像

    django-oscar/django-oscar

    6,611在 GitHub 上查看↗

    Django Oscar is a domain-driven e-commerce framework built on Django for constructing custom online stores. It provides a purpose-built admin dashboard for managing e-commerce operations including products, orders, customers, and promotions, replacing the default Django admin interface. The framework includes a flexible promotions engine for creating multi-buy, bundle, and percentage discounts with custom conditions and benefits, along with a configurable order status and transition system that supports split payments, multi-batch shipping, and deferred payment capture. The framework is desig

    Automatically converts empty strings to NULL and forces uppercase or non-negative decimal values in database columns.

    Python
    在 GitHub 上查看↗6,611
  • dimitri/pgloaderdimitri 的头像

    dimitri/pgloader

    6,295在 GitHub 上查看↗

    pgloader is a command-line tool that automates the migration of data and schema from various source databases and file formats into PostgreSQL. It combines schema discovery, parallel data pipelines, and type casting into a single, declarative workflow, using PostgreSQL's COPY protocol for high-throughput bulk loading. The tool distinguishes itself by compiling a dedicated command language into concurrent reader-writer pipelines that handle schema introspection, data transformation, and error-resilient batch processing. It supports migrating entire databases from MySQL, MS SQL, SQLite, and Pos

    Transforms empty string values into NULL for PostgreSQL loading.

    Common Lispclozure-clcommon-lispcsv
    在 GitHub 上查看↗6,295
  • ruby-concurrency/concurrent-rubyruby-concurrency 的头像

    ruby-concurrency/concurrent-ruby

    5,830在 GitHub 上查看↗

    Concurrent Ruby is a comprehensive concurrency toolkit for the Ruby language that provides thread-safe data structures, synchronization primitives, and asynchronous execution patterns. It implements core concurrency abstractions including an actor model framework where isolated actors communicate through asynchronous message passing, a future and promise system for composing non-blocking operations, and thread pool executors that manage reusable worker threads for concurrent task execution. The library distinguishes itself through a broad set of coordination mechanisms that go beyond basic th

    Provides non-removing value peek operations that return the current item without emptying the container.

    Ruby
    在 GitHub 上查看↗5,830
  • piotrwitek/utility-typespiotrwitek 的头像

    piotrwitek/utility-types

    5,759在 GitHub 上查看↗

    这是一个 TypeScript 实用类型库,为复杂的对象和联合类型转换提供高级类型别名和映射类型。它实现了用于创建品牌化(branded)标称类型、提取类型元数据以及对联合类型执行集合操作的专用工具。 该项目通过一个用于递归对象转换的工具包脱颖而出,允许在深度嵌套的结构中应用只读或可选状态等属性约束。它还提供了一个用于计算联合类型之间的交集、差集和补集的系统,以模拟数学集合逻辑。 该库涵盖了广泛的类型系统功能,包括对象属性过滤、形状比较以及类构造函数和 Promise 解析类型的提取。它还包括用于值验证的实用程序,例如检测假值或空值以及识别原始类型。

    Validates whether types evaluate to false, including empty strings, zeros, null, and undefined.

    TypeScriptmapped-typesstatic-typingtypescript
    在 GitHub 上查看↗5,759
  • sodiray/radashsodiray 的头像

    sodiray/radash

    4,845在 GitHub 上查看↗

    Radash 是一个 TypeScript 函数式实用工具库,专为数据转换、验证和工作流管理而设计。它提供了一系列类型化的辅助函数来操作数组、对象和字符串。 该项目具有用于管理 Promise、重试和并发限制的异步工作流工具包,以及一套用于验证原始类型、对象和 Promise 的布尔验证器。它还实现了函数式编程模式,如函数组合、偏函数应用和错误优先响应模式。 该库涵盖了广泛的功能,包括具有深克隆和合并的对象状态管理、复杂的数组操作和字符串格式化。它还提供了用于执行优化的工具,如速率限制和结果缓存。

    Ships a utility to detect emptiness across various data types, including strings, arrays, and objects.

    TypeScriptfunctionshacktoberfestjavascript
    在 GitHub 上查看↗4,845
  • masterminds/sprigMasterminds 的头像

    Masterminds/sprig

    4,692在 GitHub 上查看↗

    Sprig is a comprehensive library of helper functions designed to extend the Go text template engine. It provides a wide array of custom functions that can be injected into the engine to enable complex data manipulation and logic directly within templates. The project offers specialized capabilities for cryptography, including the generation of private keys, X.509 certificates, and secure password hashes. It also includes advanced logic extensions for semantic versioning comparison, ternary evaluations, and the resolution of environment variables from the host operating system. The library co

    Checks a list of values to determine if all or any are non-empty.

    Gogotemplatetemplates
    在 GitHub 上查看↗4,692
  • sadanandpai/javascript-code-challengessadanandpai 的头像

    sadanandpai/javascript-code-challenges

    4,451在 GitHub 上查看↗

    This repository is a collection of JavaScript coding challenges and a comprehensive interview guide. It provides reference implementations and educational examples designed to help developers master language fundamentals and prepare for technical interviews. The project covers a wide array of specialized implementations, including functional programming patterns like currying and partial application, as well as asynchronous patterns for concurrency control. It also includes practical examples of Document Object Model manipulation and the implementation of common data structures such as stacks

    JavaScript capability to check if an object contains no own properties and is not a specialized object.

    MDXchallengescoding-interviewfrontend
    在 GitHub 上查看↗4,451
  • uber/nullawayuber 的头像

    uber/NullAway

    4,064在 GitHub 上查看↗

    NullAway 是一个 Java 静态分析工具和构建时检测器,旨在识别空指针风险。它作为一个可空性检查器,使用注解来验证引用在解引用前是否为空,从而防止运行时崩溃。 该分析器实现了 JSpecify 标准,以确保不同 Java 库之间的一致性可空性注解。它通过使用服务提供者接口(SPI)来建模缺乏源码注解的第三方库的可空性行为,并为 Lombok 生成的代码提供专门支持,从而脱颖而出。 该工具涵盖了广泛的安全强制执行能力,包括针对方法重写进行 Java API 合约验证,以及检测空 Optional 值获取。其分析范围扩展到包级别的可空性标记,并支持从分析中排除生成的源码。

    Detects calls to retrieve values from empty optionals unless a presence check is performed first.

    Javaandroidjavanullability
    在 GitHub 上查看↗4,064
  • go-ozzo/ozzo-validationgo-ozzo 的头像

    go-ozzo/ozzo-validation

    4,072在 GitHub 上查看↗

    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

    Ensures required data is present by checking that a value is not empty.

    Gogogolangozzo
    在 GitHub 上查看↗4,072
  • solnic/virtussolnic 的头像

    solnic/virtus

    3,746在 GitHub 上查看↗

    Virtus is a Ruby attribute management and data coercion library used to define object schemas with typed attributes. It functions as a tool for transforming nested JSON structures and complex input formats into structured internal Ruby data types. The project provides a framework for creating value objects that are compared by their attribute values rather than memory identity. It allows for the mapping of complex external data into domain objects and supports the implementation of custom coercion logic to ensure data consistency. The library covers data modeling through schema-driven attrib

    Converts empty strings to null values during the type conversion process to maintain consistency.

    Ruby
    在 GitHub 上查看↗3,746
  1. Home
  2. Software Engineering & Architecture
  3. Runtime Value Validation
  4. Empty Value Validations

探索子标签

  • Empty String to Null Converters1 个子标签Transforms empty string values into SQL NULL during data loading. **Distinct from Empty Value Validations:** Distinct from Empty Value Validations: performs transformation of empty strings to null rather than validation checks.
  • Falsy Type DetectionType-level utilities for identifying and validating values that evaluate to false. **Distinct from Empty Value Validations:** Focuses on the TypeScript type system representation of falsiness rather than runtime value checking.
  • Mandatory Value EnforcementEnsures a value is present and not empty to satisfy required data constraints. **Distinct from Empty Value Validations:** Focuses on ensuring a value is NOT empty, whereas parent focuses on detecting emptiness
  • Multi-Value Emptiness ChecksValidating whether all or any values in a collection meet an emptiness criterion. **Distinct from Empty Value Validations:** Focuses on evaluating a list of values rather than a single value's emptiness.
  • Non-Removing Value InspectionsReturning the current value from a concurrent container without removing it, or a sentinel if empty. **Distinct from Empty Value Validations:** Distinct from Empty Value Validations: focuses on inspecting a value without removal from a concurrent container, not on emptiness validation.
  • Optional Value ValidationsStatic checks to ensure values are not retrieved from empty optionals without a prior presence check. **Distinct from Empty Value Validations:** Specifically targets Optional types rather than general string or collection emptiness
  • Strict Empty Object Constraints1 个子标签Utilities that enforce a type to be a strictly empty plain object. **Distinct from Empty Value Validations:** Unlike general empty value validation, this specifically prohibits arrays, primitives, or any properties in an object.