9 个仓库
Removing elements from a collection based on a boolean condition.
Distinct from Array Element Modifiers: Focuses specifically on filtering via predicates rather than general modifications or index-based removal.
Explore 9 awesome GitHub repositories matching data & databases · Predicate-Based Filtering. Refine with filters or upvote what's useful.
qs 是一个查询字符串解析和序列化库,用于将 URL 查询字符串转换为 JavaScript 对象,并将对象或数组转换回 URI 编码的字符串。它作为一个安全的解析器和 URI 编码实用程序,专门设计用于处理嵌套数据结构。 该库通过可配置的嵌套样式和数组序列化格式脱颖而出。它支持自定义字符编码逻辑,并利用字符集哨兵来管理 UTF-8 和 ISO-8859-1 之间的转换。 为了防止资源耗尽和安全漏洞,该项目实现了参数计数限制和严格的解析深度限制。它还包括空值处理、基于谓词的键过滤以及可插拔的编码函数,以管理数据的序列化方式。
Excludes specific keys or reorders the final string by applying custom boolean functions during serialization.
ts-reset is a TypeScript type enhancement library that overrides and augments the built-in type definitions for standard JavaScript APIs. Its core purpose is to replace unsafe any return types with stricter alternatives like unknown, forcing developers to explicitly validate data before using it. The library achieves this through global type augmentation and declaration merging, applying changes across the entire project without requiring per-file imports. The library differentiates itself by targeting specific pain points in everyday TypeScript usage. It relaxes type constraints on array
Removes falsy values from an array type by using Boolean as a type predicate in the filter method.
Hazelcast is a distributed data platform that combines an in-memory data grid with a stream processing engine to support real-time analytics and event-driven applications. It functions as a partitioned, distributed key-value store that replicates data across cluster nodes to provide low-latency access and high availability. The platform also serves as a distributed SQL query engine, allowing users to execute standard SQL statements against both in-memory datasets and external data sources. What distinguishes Hazelcast is its use of a distributed consensus subsystem to maintain strongly consis
Provides programmatic filtering of distributed map entries using boolean predicates for targeted data retrieval.
rimraf 是一个 Node.js 递归文件删除工具和跨平台文件系统实用程序。它提供了一个程序化库和一个命令行界面,用于在不同操作系统上删除文件、目录及其包含的所有内容。 该实用程序支持基于 Glob 的文件删除,允许删除匹配特定通配符模式的项目,而不仅仅是字面路径。它还包括在执行过程中中止删除进程以及应用基于谓词的自定义过滤以排除特定文件或文件夹的能力。 该项目涵盖了广泛的文件系统管理功能,包括递归深度优先遍历、跨平台路径规范化和异步 I/O。这些功能支持诸如自动化构建产物清理和常规项目工作空间清理等任务。
Allows using custom boolean functions to selectively exclude specific files or folders from being deleted.
Cats is a Scala functional programming library and type class library designed to implement algebraic patterns and functional abstractions. It provides a standardized set of interfaces and a modular toolkit of functional wrappers and containers to enable ad-hoc polymorphism and generic programming across disparate types. The project serves as a functional abstraction standard, offering a monad transformer suite to compose nested effectful contexts and handle multiple computational side effects within a single pipeline. It further enables the construction of embedded domain-specific languages
Provides utilities to filter or transform values contained within functional wrappers based on predicates.
ActiveLabel.swift 是一个 iOS 富文本解析库和交互式文本标签。它作为标准标签的替代品,识别字符串中的特定文本模式并将不同的视觉样式应用于识别出的实体。 该项目支持使用自定义正则表达式文本识别器检测和高亮显示标签 (#hashtags)、提及 (@mentions) 和 URL。它允许定义项目特定的文本模式,并使用基于谓词的过滤来确定检测到的实体是否应被高亮显示或忽略。 该系统通过实体点击处理来管理用户交互,当用户与识别出的元素交互时触发回调函数。它还包括用于 URL 管理的实用程序,例如截断长网址以保持布局一致性。
Uses boolean logic predicates to determine whether detected text entities should be highlighted or ignored.
This project is a Chinese localization repository and technical translation project designed to make concise programming projects and technical documentation accessible to Chinese speakers. It provides a collection of translated resources and curated mappings of computer science terminology to ensure consistent translation of technical concepts. The project implements a software localization workflow that converts English-language technical guides and codebase documentation into Chinese. This process utilizes a technical glossary resource and a resource-driven localization model to maintain t
Excludes nodes from a graph traversal based on custom predicate functions or property matches.
Scrutor is a library that extends the standard Microsoft dependency injection container. It provides tools for automated type discovery, complex registration orchestration, and service decoration capabilities within the .NET ecosystem. The project enables the automatic discovery and registration of types from assemblies based on interfaces or attributes. It also provides a framework for wrapping existing services with decorator classes to add functionality without modifying the original source code. The library covers broad capability areas including assembly scanning workflows, dependency i
Uses boolean logic predicates to determine which classes should be registered in the dependency container.
Dollar 是一个 Swift 函数式编程库,提供了一套用于集合操作、字符串处理、数学计算以及日期和时间管理的综合工具包。它作为过滤、聚合和重构数组及字典的实用工具集。 该项目实现了柯里化(currying)、记忆化(memoization)和函数组合等函数式编程模式。它还具备链式包装器接口,允许在提取最终结果之前按顺序应用多次数据转换。 该库涵盖了广泛的功能领域,包括文本清理和大小写转换、正则表达式操作,以及阶乘和除数等数学值的计算。它还包含用于解析 Unix 时间戳和计算相对时间偏移的工具。 该工具包通过泛型方法扩展了 Swift 标准库类型,以实现数据转换和聚合。
Employs callback functions as predicates to isolate, search, and partition elements within arrays and dictionaries.