https://github.com/ramtinsoltani/chisel-addon-levenshtein
https://github.com/ramtinsoltani/chisel-addon-levenshtein
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ramtinsoltani/chisel-addon-levenshtein
- Owner: ramtinsoltani
- Created: 2018-08-29T00:15:01.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-29T00:27:24.000Z (almost 7 years ago)
- Last Synced: 2025-02-16T01:43:07.000Z (4 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Levenshtein (Chisel Mutator Addon)
Calculates the Levenshtein distance of two strings.
# Installation
Use the Chisel RESTful API, Chisel CLI, or Chisel GUI to install this mutator addon.
# Usage
After installation, this addon will be available on `api.mutators.addons.levenshtein` as a function with the following parameters:
- `str1`: The first string.
- `str2`: The second string.## Example
```js
api.mutators.addons.levenshtein('Hello World!', 'Hello World'); // Returns 1
```