1.23.4 • Published 5 months ago

@velocitycareerlabs/string-matching v1.23.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

Levenshtein Distance package

Finds the closest suggestion using shortest Levenshtein Distance from fastest-levenshtein npm package

Exposes 'getClosest' function which takes two parameters, the inputted incorrect string, and an array of correct possibilities.

Example

add "@velocitycareerlabs/string-matching": "0.5.0-build" to package.json

const { getClosest } = require('@velocitycareerlabs/string-matching');

const closestLevenshteinDistance = await getClosest('fast', 'slow', 'faster', 'fastest');

Returns

faster

1.23.4

5 months ago

1.23.3

6 months ago

1.23.2

7 months ago

1.23.1

8 months ago

1.23.0

8 months ago

1.22.0

9 months ago

1.21.0

11 months ago

1.21.1

11 months ago

1.19.1

1 year ago

1.20.0

1 year ago

1.19.0

1 year ago

1.18.1

1 year ago

1.18.0

1 year ago

1.17.1

1 year ago

1.17.0

1 year ago

1.16.1

2 years ago

1.16.0

2 years ago