awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
kentcdodds avatar

kentcdodds/match-sorter

0
View on GitHub↗
npm.im/match-sorter↗

Match Sorter

match-sorter is a JavaScript string matching and array filtering utility designed to rank and sort lists based on search string relevance. It functions as a deterministic best-match sorting library and fuzzy search engine for filtering object arrays.

The tool prioritizes results using weighted match heuristics that favor exact matches, acronyms, and string containment. It employs a deterministic ranking system to ensure consistent ordering and supports diacritic-insensitive normalization to match characters regardless of accents.

The library covers match criteria specification via key-path property extraction, match threshold configuration for adjusting search strictness, and the extraction of ranking metadata. It also provides customizable sorting logic through external comparison functions to override default tie-breaking.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Client-Side Search Filtering - Provides a specialized utility for implementing search boxes and list filtering in JavaScript applications.
  • Fuzzy Matching - Implements fuzzy matching to help users find results despite slight typos or partial entries.
  • Exact Match Prioritizers - Prioritizes exact matches, acronyms, and string containment using a weighted ranking hierarchy.
  • Best-Match Sorting Libraries - Provides a deterministic library for ordering list items by prioritizing exact matches and acronyms.
  • Deterministic Ranking Systems - Implements a deterministic scoring system to ensure search results are ordered consistently and predictably.
  • Real-time List Filtering - Enables real-time filtering and ordering of large data arrays as the user types.
  • Search Result Ranking - Assigns numerical scores to items based on match quality to determine the final order of search results.
  • Fuzzy Search Libraries - Ships a JavaScript-based fuzzy search engine with customizable match thresholds.
  • JavaScript Search and Sort Libraries - Offers a deterministic ranking and sorting library for filtering JavaScript arrays based on search relevance.
  • Multi-Stage Ranking Pipelines - Utilizes a tiered sorting process that filters by match thresholds before applying primary ranks and tie-breakers.
  • Array Filtering - Functions as a utility for filtering object arrays based on specified keys and match criteria.
  • Search Result Filtering - Allows restricting results to items that meet specific ranking thresholds, such as requiring a start-with match.
  • Comparison Function Injection - Provides the ability to override default sorting results using external comparison functions.
  • Dynamic Key-Path Extraction - Allows locating searchable text within nested object arrays using dot-notation key paths.
  • Configurable Matching Strategies - Provides configurable matching strategies to adjust search strictness from exact equality to simple containment.
  • Accent-Insensitive Matchers - Supports diacritic-insensitive matching by stripping accents and special marks from strings.
  • Custom Sort Comparators - Supports custom comparison functions to override default tie-breaking or final result ordering.
  • Custom Match Criteria Specification - Enables the definition of which object keys or nested paths are used to determine search matches.
4,115 stars·143 forks·TypeScript·MIT·20 views

Star history

Star history chart for kentcdodds/match-sorterStar history chart for kentcdodds/match-sorter

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Projects sharing features with Match Sorter

These projects share indexed features with Match Sorter. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • javve/list.jsjavve avatar

    javve/list.js

    11,201View on GitHub↗

    list.js is a JavaScript search and sort library used to add real-time filtering, sorting, and pagination to HTML lists and tables without backend dependencies. It functions as a DOM data indexer and template-driven HTML renderer, allowing developers to manage how data is displayed and discovered on the client side. The library distinguishes itself through a fuzzy string matching engine that handles approximate matches and typos, and a DOM data indexer that extracts values directly from HTML data attributes to build a searchable internal index. It uses a template-driven rendering system to gen

    JavaScripteasy-to-usefiltersflexibility
    View on GitHub↗11,201
  • olivernn/lunr.jsolivernn avatar

    olivernn/lunr.js

    9,201View on GitHub↗

    lunr.js is a JavaScript full-text search library and client-side search engine. It creates in-memory search indexes for fast keyword retrieval and ranked document matching within browser or Node.js environments. The library utilizes a JSON serializable search index, allowing the search structure to be converted to and from JSON for storage and distribution of pre-built search data. This enables search functionality for static websites by indexing content into portable files. The system supports advanced querying capabilities, including fuzzy text matching to account for typos, field-scoped i

    JavaScript
    View on GitHub↗9,201
  • nvim-mini/mini.nvimnvim-mini avatar

    nvim-mini/mini.nvim

    9,638View on GitHub↗

    mini.nvim is a comprehensive library of independent modules designed to extend Neovim with a wide array of navigation, user interface, and text manipulation tools. It serves as a modular plugin collection, a UI toolkit for creating custom statuslines and notifications, and a package manager for installing and pinning external plugins from Git. The project provides a specialized fuzzy picker framework for filtering files and symbols, an LSP completion engine with interactive snippet expansion, and a dedicated plugin test framework that uses headless editor instances and remote procedure calls

    Lualuamini-nvimneovim
    View on GitHub↗9,638
  • saghen/blink.cmpsaghen avatar

    saghen/blink.cmp

    6,660View on GitHub↗
    Luaneovimneovim-lua-pluginneovim-plugin
    View on GitHub↗6,660
Compare all 30 related projects→

Frequently asked questions

What does kentcdodds/match-sorter do?

match-sorter is a JavaScript string matching and array filtering utility designed to rank and sort lists based on search string relevance. It functions as a deterministic best-match sorting library and fuzzy search engine for filtering object arrays.

What are the main features of kentcdodds/match-sorter?

The main features of kentcdodds/match-sorter are: Client-Side Search Filtering, Fuzzy Matching, Exact Match Prioritizers, Best-Match Sorting Libraries, Deterministic Ranking Systems, Real-time List Filtering, Search Result Ranking, Fuzzy Search Libraries.

Which projects share features with kentcdodds/match-sorter?

Projects with overlapping indexed features include: javve/list.js — list.js is a JavaScript search and sort library used to add real-time filtering, sorting, and pagination to HTML lists… nvim-mini/mini.nvim — mini.nvim is a comprehensive library of independent modules designed to extend Neovim with a wide array of navigation,… saghen/blink.cmp. olivernn/lunr.js — lunr.js is a JavaScript full-text search library and client-side search engine. It creates in-memory search indexes… lucaong/minisearch. kien/ctrlp.vim — ctrlp.vim is a fuzzy file navigation tool for the Vim editor. It enables the location and opening of files, buffers,…