{"id":22881477,"url":"https://github.com/luludotdev/image-hash","last_synced_at":"2026-02-28T11:33:54.818Z","repository":{"id":34909626,"uuid":"188774219","full_name":"luludotdev/image-hash","owner":"luludotdev","description":"Generate perceptual hashes for PNG or JPEG images","archived":false,"fork":false,"pushed_at":"2023-07-15T15:50:44.000Z","size":2672,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T05:20:28.980Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://npm.im/@luludev/image-hash","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luludotdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"patreon":"JackBaron","ko_fi":"lolpants","custom":["https://www.paypal.me/jackbarondev","https://monzo.me/jackbaron"]}},"created_at":"2019-05-27T05:06:05.000Z","updated_at":"2023-07-15T15:51:03.000Z","dependencies_parsed_at":"2023-07-15T23:36:54.992Z","dependency_job_id":"ab54f7fe-a5ac-424e-b358-7e8113afd3e8","html_url":"https://github.com/luludotdev/image-hash","commit_stats":null,"previous_names":["luludotdev/image-hash","lolpants/image-hash"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/luludotdev/image-hash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luludotdev%2Fimage-hash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luludotdev%2Fimage-hash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luludotdev%2Fimage-hash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luludotdev%2Fimage-hash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luludotdev","download_url":"https://codeload.github.com/luludotdev/image-hash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luludotdev%2Fimage-hash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29931785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T09:58:13.507Z","status":"ssl_error","status_checked_at":"2026-02-28T09:57:57.047Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-13T17:37:21.182Z","updated_at":"2026-02-28T11:33:54.784Z","avatar_url":"https://github.com/luludotdev.png","language":"TypeScript","funding_links":["https://patreon.com/JackBaron","https://ko-fi.com/lolpants","https://www.paypal.me/jackbarondev","https://monzo.me/jackbaron"],"categories":[],"sub_categories":[],"readme":"# 🖼 Image Hash\n\n![Node.js CI](https://github.com/luludotdev/image-hash/workflows/Node.js%20CI/badge.svg?branch=master)\n[![NPM version](https://img.shields.io/npm/v/@luludev/image-hash.svg?maxAge=3600)](https://www.npmjs.com/package/@luludev/image-hash)\n[![NPM downloads](https://img.shields.io/npm/dt/@luludev/image-hash.svg?maxAge=3600)](https://www.npmjs.com/package/@luludev/image-hash)\n\n\u003e Generate perceptual hashes for PNG or JPEG images\n\n## 💾 Installation\n\nThe package is on the NPM registry as `@luludev/image-hash`. Simply install it with your NPM client of choice.\n\n## 🔧 Usage\n\n```ts\nimport { imageHash } from '@luludev/image-hash'\n\n// Resolve\nconst imageBuffer = fs.readFileSync('./example.png')\nconst hash = imageHash(imageBuffer)\n// =\u003e ffee6f66ea356e6c6d5...\n```\n\nOnly PNG or JPEG type images can be used.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluludotdev%2Fimage-hash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluludotdev%2Fimage-hash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluludotdev%2Fimage-hash/lists"}