A collection of string matching algorithms designed with React Select in mind.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
src
.babelrc
.eslintrc
.flowconfig
.gitignore
LICENSE
README.md
package.json
prepublish.sh

README.md

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