This package has been deprecated

Author message:

This package was created for an old version of Chisel and is now deprecated

chisel-addon-levenshtein
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

api.mutators.addons.levenshtein('Hello World!', 'Hello World'); // Returns 1

Package Sidebar

Install

npm i chisel-addon-levenshtein

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

2.02 kB

Total Files

5

Last publish

Collaborators

  • ramtinsoltani