3.2.0 • Published 3 years ago

@lolpants/image-hash v3.2.0

Weekly downloads
14
License
MIT
Repository
github
Last release
3 years ago

🖼 Image Hash

Node.js CI NPM version NPM downloads Dependencies

Generate perceptual hashes for PNG or JPEG images

💾 Installation

The package is on the NPM registry as @lolpants/image-hash. Simply install it with your NPM client of choice.

🔧 Usage

import { imageHash } from '@lolpants/image-hash'

// Resolve
const imageBuffer = fs.readFileSync('./example.png')
const hash = imageHash(imageBuffer)
// => ffee6f66ea356e6c6d5...

Only PNG or JPEG type images can be used.

3.2.0

3 years ago

3.1.0

3 years ago

3.0.0

4 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago