string-similarity
Advanced tools
Comparing version 4.0.0 to 4.0.1
{ | ||
"name": "string-similarity", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Finds degree of similarity between strings, based on Dice's Coefficient, which is mostly better than Levenshtein distance.", | ||
@@ -8,3 +8,4 @@ "main": "src/index.js", | ||
"test": "jasmine --config=src/spec/support/jasmine.json", | ||
"build": "rm -rf umd && webpack-cli" | ||
"build": "rm -rf umd && webpack-cli", | ||
"prepublish": "npm test && npm run build" | ||
}, | ||
@@ -11,0 +12,0 @@ "repository": { |
@@ -9,16 +9,18 @@ string-similarity | ||
* [Usage](#usage) | ||
+ [For Node.js](#for-nodejs) | ||
+ [For browser apps](#for-browser-apps) | ||
* [API](#api) | ||
* [compareTwoStrings(string1, string2)](#comparetwostringsstring1-string2) | ||
* [Arguments](#arguments) | ||
* [Returns](#returns) | ||
* [Examples](#examples) | ||
* [findBestMatch(mainString, targetStrings)](#findbestmatchmainstring-targetstrings) | ||
* [Arguments](#arguments-1) | ||
* [Returns](#returns-1) | ||
* [Examples](#examples-1) | ||
+ [compareTwoStrings(string1, string2)](#comparetwostringsstring1-string2) | ||
* [Arguments](#arguments) | ||
* [Returns](#returns) | ||
* [Examples](#examples) | ||
+ [findBestMatch(mainString, targetStrings)](#findbestmatchmainstring-targetstrings) | ||
* [Arguments](#arguments-1) | ||
* [Returns](#returns-1) | ||
* [Examples](#examples-1) | ||
* [Release Notes](#release-notes) | ||
* [2.0.0](#200) | ||
* [3.0.0](#300) | ||
* [3.0.1](#301) | ||
* [4.0.0](#400) | ||
+ [2.0.0](#200) | ||
+ [3.0.0](#300) | ||
+ [3.0.1](#301) | ||
+ [4.0.1](#401) | ||
@@ -48,5 +50,5 @@ | ||
Include `<script>//unpkg.com/string-similarity/umd/string-similarity.min.js</script>` to get the latest version. | ||
Include `<script src="//unpkg.com/string-similarity/umd/string-similarity.min.js"></script>` to get the latest version. | ||
Or `<script>//unpkg.com/string-similarity@3.0.0/umd/string-similarity.min.js</script>` to get a specific version (3.0.0) in this case. | ||
Or `<script src="//unpkg.com/string-similarity@4.0.1/umd/string-similarity.min.js"></script>` to get a specific version (4.0.1) in this case. | ||
@@ -150,3 +152,3 @@ This exposes a global variable called `stringSimilarity` which you can start using. | ||
### 4.0.0 | ||
### 4.0.1 | ||
* Distributing as an UMD build to be used in browsers. | ||
@@ -153,0 +155,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
11623
5
155