An open API service indexing awesome lists of open source software.

https://github.com/aosync/levenshtein

Deno module to compute the Levenshtein distance between two strings
https://github.com/aosync/levenshtein

Last synced: about 1 year ago
JSON representation

Deno module to compute the Levenshtein distance between two strings

Awesome Lists containing this project

README

          

# levenshtein

Implementation of the Wagner-Fischer algorithm to compute the Levenshtein distance between two strings.

## Usage

```typescript
import levenshtein from "https://deno.land/x/levenshtein/mod.ts";

levenshtein("kitten", "sitting"); // 3
```