← Back to tools

leven-cli

Measure the difference between two strings using Levenshtein distance

Development linuxmacoswindows JavaScript MIT

Description

leven-cli measures the difference between two strings using the Levenshtein distance algorithm. It computes the minimum number of single-character edits needed to transform one string into another.

AI Summary

A CLI tool to compute the Levenshtein edit distance between two strings.

Capabilities

  • + Calculate Levenshtein distance
  • + Measure string similarity
  • + Simple two-argument interface

Use When

  • You need to measure string similarity
  • You want to compute edit distance

Avoid When

  • x You need full diff output
  • x You need fuzzy matching for files
View AGENTS.md for leven-cli