string-compare-diff
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "string-compare-diff", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Compare the difference between two strings using distance. Returns a number 0 to 1 showing exactly how related the two strings are.", | ||
@@ -11,3 +11,3 @@ "main": "app.js", | ||
"type": "git", | ||
"url": "git@github-github_personal:DanielDwyerPersonal/string-compare.git" | ||
"url": "git@github-github_personal:DanielDwyerPersonal/string-compare-diff.git" | ||
}, | ||
@@ -14,0 +14,0 @@ "keywords": [ |
@@ -28,11 +28,11 @@ # string-compare-diff | ||
```js | ||
compareStrings.strSimilarity("Dan", "Daniel") | ||
compareStr.strSimilarity("Dan", "Daniel") | ||
//returns 0.5 | ||
``` | ||
```js | ||
compareStrings.strSimilarity("America The Beautiful", "Canada") | ||
compareStr.strSimilarity("America The Beautiful", "Canada") | ||
//returns 0.14285714285714285 | ||
``` | ||
```js | ||
compareStrings.strSimilarity("Donald", "Trump") | ||
compareStr.strSimilarity("Donald", "Trump") | ||
//returns 0 | ||
@@ -39,0 +39,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3823