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

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

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

1 个仓库

Awesome GitHub RepositoriesComparison Function Injection

Allows extending sorting logic via user-supplied comparison functions.

Distinct from Custom Comparison Logic: Distinct from Custom Comparison Logic: focuses on the mechanism of injecting external functions for sorting rather than state-change detection logic.

Explore 1 awesome GitHub repository matching software engineering & architecture · Comparison Function Injection. Refine with filters or upvote what's useful.

Awesome Comparison Function Injection GitHub Repositories

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

    kentcdodds/match-sorter

    4,099在 GitHub 上查看↗

    match-sorter 是一个 JavaScript 字符串匹配和数组过滤实用程序,旨在根据搜索字符串的相关性对列表进行排名和排序。它作为一个确定性的最佳匹配排序库和模糊搜索引擎,用于过滤对象数组。 该工具使用加权匹配启发式算法对结果进行优先级排序,偏好精确匹配、首字母缩写和字符串包含。它采用确定性排名系统以确保一致的排序,并支持不区分变音符号的归一化,以匹配字符而不受重音影响。 该库涵盖了通过键路径属性提取的匹配标准规范、用于调整搜索严格性的匹配阈值配置,以及排名元数据的提取。它还通过外部比较函数提供可自定义的排序逻辑,以覆盖默认的平局决胜规则。

    Provides the ability to override default sorting results using external comparison functions.

    TypeScript
    在 GitHub 上查看↗4,099
  1. Home
  2. Software Engineering & Architecture
  3. Custom Comparison Logic
  4. Comparison Function Injection