Skip to content
forked from farzher/fuzzysort

About

TypeScript-first fuzzy search library

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

fuzzysort2

Purpose

fuzzysort2 is a TypeScript-first fuzzy search library for matching one query against one string, searching arrays of strings, and searching records through one or more named text fields.

Installation

pnpm add fuzzysort2

Quick Example

import { search } from 'fuzzysort2'

const result = search('c man', [
  'CheatManager.h',
  'Manifest.cpp',
  'CheatManager.cpp',
], { limit: 2 })

console.log(result.items.map(item => item.target))

Documentation Map

About

TypeScript-first fuzzy search library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages