Skip to content

Khan/fuzzy-match-utils

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

fuzzy-match-utils

A collection of string matching algorithms built with React Select in mind.

Installation

npm install --save fuzzy-match-utils

Usage

This module exports four utility functions:

  • filterOptions
  • typeaheadSimilarity
  • fullStringDistance
  • cleanUpText

They're well documented in main.js.

It also exports a Flow type for Option, if you're into that sort of thing.

Usage examples coming… soon?

License

MIT

About

A collection of string matching algorithms designed with React Select in mind.

Resources

License

Stars

Watchers

Forks

Packages

No packages published