npm.io
1.3.0 • Published 9 years ago

fuzzy-match-utils

Licence
MIT
Version
1.3.0
Deps
0
Vulns
0
Weekly
0
Stars
17

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

Keywords