{"id":17663826,"url":"https://github.com/memcorrupt/fast-ssdeep","last_synced_at":"2026-02-25T17:32:18.525Z","repository":{"id":253462450,"uuid":"816657187","full_name":"memcorrupt/fast-ssdeep","owner":"memcorrupt","description":"Node.js binding for the ssdeep CTPH library","archived":false,"fork":false,"pushed_at":"2025-01-27T08:36:59.000Z","size":34,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T23:09:16.802Z","etag":null,"topics":["ctph","fuzzy","hashing","nodejs","ssdeep"],"latest_commit_sha":null,"homepage":"","language":"C","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/memcorrupt.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-18T06:58:24.000Z","updated_at":"2025-01-05T14:26:13.000Z","dependencies_parsed_at":"2024-10-30T22:35:57.438Z","dependency_job_id":null,"html_url":"https://github.com/memcorrupt/fast-ssdeep","commit_stats":null,"previous_names":["memcorrupt/fast-ssdeep"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memcorrupt%2Ffast-ssdeep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memcorrupt%2Ffast-ssdeep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memcorrupt%2Ffast-ssdeep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memcorrupt%2Ffast-ssdeep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/memcorrupt","download_url":"https://codeload.github.com/memcorrupt/fast-ssdeep/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252968120,"owners_count":21833252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ctph","fuzzy","hashing","nodejs","ssdeep"],"created_at":"2024-10-23T19:42:41.012Z","updated_at":"2026-02-25T17:32:13.505Z","avatar_url":"https://github.com/memcorrupt.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fast-ssdeep\n\n[![Version](https://img.shields.io/npm/v/fast-ssdeep.svg)](https://www.npmjs.org/package/fast-ssdeep)\n[![Downloads](https://img.shields.io/npm/dm/fast-ssdeep.svg)](https://www.npmjs.com/package/fast-ssdeep)\n[![Build Status](https://github.com/memcorrupt/fast-ssdeep/actions/workflows/build.yml/badge.svg)](https://github.com/memcorrupt/fast-ssdeep/actions/workflows/build.yml)\n[![License](https://img.shields.io/github/license/memcorrupt/fast-ssdeep)](LICENSE)\n\nNode.js binding for the ssdeep CTPH library.\n\n[ssdeep project website](https://ssdeep-project.github.io/ssdeep/index.html)\n\n# Installation\n\nInstall the [fast-ssdeep](https://npmjs.org/package/fast-ssdeep) package from the NPM registry using your package manager of choice.\n\nExample:\n\n```\nnpm install fast-ssdeep\n# or\nyarn add fast-ssdeep\n# or\npnpm install fast-ssdeep\n```\n\n# Documentation\n\n### `ssdeep.hash(contents: string|Buffer): Promise\u003cstring\u003e`\n\nAsynchronously calculate an ssdeep hash based on the `contents` argument, which can be a string or Buffer.\n\n### `ssdeep.hashSync(contents: string|Buffer): string`\n\nSynchronously calculate an ssdeep hash based on the `contents` argument, which can be a string or Buffer.\n\n### `ssdeep.compare(hash1: string, hash2: string): Promise\u003cnumber\u003e`\n\nAsynchronously compare two ssdeep hashes to generate a similarity score. Both hashes must be passed as strings, and a similarity between 0-100 will be returned.\n\n### `ssdeep.compareSync(hash1: string, hash2: string): number`\n\nSynchronously compare two ssdeep hashes to generate a similarity score. Both hashes must be passed as strings, and a similarity between 0-100 will be returned.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemcorrupt%2Ffast-ssdeep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmemcorrupt%2Ffast-ssdeep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemcorrupt%2Ffast-ssdeep/lists"}