Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

damerau-levenshtein

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

damerau-levenshtein - npm Package Compare versions

Comparing version 0.1.3 to 1.0.0

2

package.json
{
"name": "damerau-levenshtein",
"version": "0.1.3",
"version": "1.0.0",
"description": "Damerau - Levenshtein distance by The Spanish Inquisition + relative distance",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -9,6 +9,7 @@ I use algorithm kindly provided by TheSpanishInquisition here: <http://jsperf.com/damerau-levenshtein-distance>.

{
distance: 5, // Levenstein demerau distance
relative: 0.7 // distance / length of bigger of two words
steps: 5, // Levenstein demerau distance
relative: 0.7, // steps / length of bigger of two words
similarity: 0.3 // 1 - relative
}
````
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc