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

img-hasher

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

img-hasher - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

6

index.d.ts

@@ -93,3 +93,3 @@ /* tslint:disable */

*/
export function getHash(input: Buffer | string, hashAlgo?: HashAlgorithm | undefined | null): Promise<void>;
export function getHash(input: Buffer | string, hashAlgo?: HashAlgorithm | undefined | null): Promise<string>;
/**

@@ -110,3 +110,3 @@ * get hamming distance of two image hashes

*/
export function hammingDistanceFromHash(input1: string, input2: string): Promise<void>;
export function hammingDistanceFromHash(input1: string, input2: string): Promise<number>;
/**

@@ -130,2 +130,2 @@ * get hamming distance of two images

hashAlgo?: HashAlgorithm | undefined | null,
): Promise<void>;
): Promise<number>;
{
"name": "img-hasher",
"description": "A fast image hash generator and hamming distance calculator using multiple algorithms",
"version": "0.0.6",
"version": "0.0.7",
"main": "index.js",

@@ -56,8 +56,8 @@ "types": "index.d.ts",

"optionalDependencies": {
"@imranbarbhuiya/img-hasher-win32-x64-msvc": "0.0.6",
"@imranbarbhuiya/img-hasher-darwin-x64": "0.0.6",
"@imranbarbhuiya/img-hasher-linux-x64-gnu": "0.0.6",
"@imranbarbhuiya/img-hasher-darwin-arm64": "0.0.6",
"@imranbarbhuiya/img-hasher-linux-x64-musl": "0.0.6"
"@imranbarbhuiya/img-hasher-win32-x64-msvc": "0.0.7",
"@imranbarbhuiya/img-hasher-darwin-x64": "0.0.7",
"@imranbarbhuiya/img-hasher-linux-x64-gnu": "0.0.7",
"@imranbarbhuiya/img-hasher-darwin-arm64": "0.0.7",
"@imranbarbhuiya/img-hasher-linux-x64-musl": "0.0.7"
}
}
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