node-image-hash
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"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' | ||
}); | ||
``` |
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
540321
20