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

node-image-hash

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-image-hash - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "node-image-hash",
"version": "1.0.0",
"version": "1.0.1",
"description": "Perceptual image hash for node.js",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,2 +0,20 @@

# node-image-hash
# node-image-hash [![npm version](https://badge.fury.io/js/node-image-hash.png)](https://badge.fury.io/js/node-image-hash)
Perceptual image hash for node.js
## Installation
```
npm install node-image-hash
```
## Basic usage
```javascript
const imageHash = require('node-image-hash');
imageHash
.hash('buffer/or/path/to/file/', 8, 'hex')
.then((hash) => {
console.log(hash); // '83c3d381c38985a5'
});
```
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