12 个仓库
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.
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.
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.
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.
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.
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.
这是一个 TypeScript 实用类型库,为复杂的对象和联合类型转换提供高级类型别名和映射类型。它实现了用于创建品牌化(branded)标称类型、提取类型元数据以及对联合类型执行集合操作的专用工具。 该项目通过一个用于递归对象转换的工具包脱颖而出,允许在深度嵌套的结构中应用只读或可选状态等属性约束。它还提供了一个用于计算联合类型之间的交集、差集和补集的系统,以模拟数学集合逻辑。 该库涵盖了广泛的类型系统功能,包括对象属性过滤、形状比较以及类构造函数和 Promise 解析类型的提取。它还包括用于值验证的实用程序,例如检测假值或空值以及识别原始类型。
Validates whether types evaluate to false, including empty strings, zeros, null, and undefined.
Radash 是一个 TypeScript 函数式实用工具库,专为数据转换、验证和工作流管理而设计。它提供了一系列类型化的辅助函数来操作数组、对象和字符串。 该项目具有用于管理 Promise、重试和并发限制的异步工作流工具包,以及一套用于验证原始类型、对象和 Promise 的布尔验证器。它还实现了函数式编程模式,如函数组合、偏函数应用和错误优先响应模式。 该库涵盖了广泛的功能,包括具有深克隆和合并的对象状态管理、复杂的数组操作和字符串格式化。它还提供了用于执行优化的工具,如速率限制和结果缓存。
Ships a utility to detect emptiness across various data types, including strings, arrays, and objects.
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.
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.
NullAway 是一个 Java 静态分析工具和构建时检测器,旨在识别空指针风险。它作为一个可空性检查器,使用注解来验证引用在解引用前是否为空,从而防止运行时崩溃。 该分析器实现了 JSpecify 标准,以确保不同 Java 库之间的一致性可空性注解。它通过使用服务提供者接口(SPI)来建模缺乏源码注解的第三方库的可空性行为,并为 Lombok 生成的代码提供专门支持,从而脱颖而出。 该工具涵盖了广泛的安全强制执行能力,包括针对方法重写进行 Java API 合约验证,以及检测空 Optional 值获取。其分析范围扩展到包级别的可空性标记,并支持从分析中排除生成的源码。
Detects calls to retrieve values from empty optionals unless a presence check is performed first.
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.
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.