Socket
Socket
Sign inDemoInstall

@types/js-levenshtein

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

3

js-levenshtein/index.d.ts
// Type definitions for js-levenshtein 1.1
// Project: https://github.com/gustf/js-levenshtein
// Definitions by: Kallu609 <https://github.com/Kallu609>
// Pyry Rouvila <https://github.com/naftis>
// Definitions by: Pyry Rouvila <https://github.com/naftis>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -6,0 +5,0 @@

{
"name": "@types/js-levenshtein",
"version": "1.1.0",
"version": "1.1.1",
"description": "TypeScript definitions for js-levenshtein",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-levenshtein",
"license": "MIT",
"contributors": [
{
"name": "Kallu609",
"url": "https://github.com/Kallu609",
"githubUsername": "Kallu609"
},
{
"name": "Pyry Rouvila",

@@ -19,11 +15,12 @@ "url": "https://github.com/naftis",

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/js-levenshtein"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "0299789bf73868de69b439ffd09a3e1adaa3bd43ee7ddd5b2afcabad22c34f70",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "2532667feb2d517d9edd01f360917af5473f27e933ac8c903b145ba034ebe3e5",
"typeScriptVersion": "3.8"
}

@@ -8,6 +8,21 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-levenshtein
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-levenshtein.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-levenshtein/index.d.ts)
````ts
// Type definitions for js-levenshtein 1.1
// Project: https://github.com/gustf/js-levenshtein
// Definitions by: Pyry Rouvila <https://github.com/naftis>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Wed, 16 Jan 2019 01:16:22 GMT
/**
* Calculates Levenshtein distance between two strings
*/
declare function levenshtein(compareFrom: string, compareTo: string): number;
export = levenshtein;
````
### Additional Details
* Last updated: Thu, 23 Dec 2021 23:34:56 GMT
* Dependencies: none

@@ -17,2 +32,2 @@ * Global values: none

# Credits
These definitions were written by Kallu609 <https://github.com/Kallu609>, Pyry Rouvila <https://github.com/naftis>.
These definitions were written by [Pyry Rouvila](https://github.com/naftis).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc