A collection of string matching algorithms designed with React Select in mind.
JavaScript Shell
Switch branches/tags
Clone or download
rileyjshaw v1.3.0
Auditors: joshua
Latest commit 6d22f93 Apr 25, 2017
Permalink
Failed to load latest commit information.
dist v1.3.0 Apr 25, 2017
src Preferential match included strings Apr 23, 2017
.babelrc Initial commit Mar 27, 2017
.eslintrc Initial commit Mar 27, 2017
.flowconfig Initial commit Mar 27, 2017
.gitignore Initial commit Mar 27, 2017
LICENSE Initial commit Mar 27, 2017
README.md Add installation instructions Mar 27, 2017
package.json v1.3.0 Apr 25, 2017
prepublish.sh Initial commit Mar 27, 2017

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