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

string-similarity

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string-similarity - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

umd/string-similarity.min.js

5

package.json
{
"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": {

32

README.md

@@ -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 @@

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