Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

sift-string

timoxley4.3kMIT0.0.2

Fast String Distance (SIFT) Algorithm

string, string distance, sift, sift3

readme

sift

Fast String Distance (SIFT) Algorithm.

NPM

Dependency Status

Installation

Browserify/Node

$ npm install sift-string

Component

$ component install timoxley/sift

Demo

Demo

or if you want to check it out locally:

# run only once to install npm dev dependencies
npm install .
# this will install && build the components and open the demo web page
npm run c-demo

API

sift(string, string)

Return 'distance' between two strings.

TODO

  • Dictionary Helper supply it emits suggestions.

Credit

Code extracted from MailCheck

License

MIT