{"id":23708539,"url":"https://github.com/mattriley/node-duplicate-file-finder","last_synced_at":"2025-09-03T14:32:56.500Z","repository":{"id":45786668,"uuid":"315531084","full_name":"mattriley/node-duplicate-file-finder","owner":"mattriley","description":"Finds duplicate files across given directories without hashing.","archived":false,"fork":false,"pushed_at":"2024-04-11T12:59:48.000Z","size":2489,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-19T02:19:36.212Z","etag":null,"topics":["dedupe","duplicate-files","hashless","javascript","nodejs","npm-package"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattriley.png","metadata":{"files":{"readme":"README-TEMPLATE.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-24T05:45:56.000Z","updated_at":"2023-07-03T11:51:58.000Z","dependencies_parsed_at":"2023-01-22T20:31:01.571Z","dependency_job_id":null,"html_url":"https://github.com/mattriley/node-duplicate-file-finder","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattriley%2Fnode-duplicate-file-finder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattriley%2Fnode-duplicate-file-finder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattriley%2Fnode-duplicate-file-finder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattriley%2Fnode-duplicate-file-finder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattriley","download_url":"https://codeload.github.com/mattriley/node-duplicate-file-finder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231895815,"owners_count":18442361,"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":["dedupe","duplicate-files","hashless","javascript","nodejs","npm-package"],"created_at":"2024-12-30T18:00:52.871Z","updated_at":"2024-12-30T18:00:57.386Z","avatar_url":"https://github.com/mattriley.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c%- lib.renderOpening() %\u003e\n\n## Install\n\n\u003c%- await lib.renderCode('npm install duplicate-file-finder', '', 'https://www.npmjs.com/package/duplicate-file-finder'); %\u003e\n\n## Usage\n\n```js\nconst { findDuplicates } = require('duplicate-file-finder');\nconst sourcePath = 'photos'; // defaults to current directory.\nconst searchPaths = ['more-photos', 'even-more-photos']; // defaults to empty.\nconst duplicates = findDuplicates({ sourcePath, searchPaths }).then(duplicates =\u003e {\n    // do something with duplicates.\n});\n```\n\n`duplicates` is a data structure like:\n\n```js\n[\n    [\n        'photos/family.jpg',\n        'more-photos/copy-of-family.jpg',\n        'even-more-photos/another-copy-of-family.jpg'\n    ],\n    [\n        'photos/pets.jpg',\n        'more-photos/copy-of-pets.jpg'\n    ]\n]\n```\n\n## Architecture\n\n\u003c%- await lib.renderModuleDiagram() %\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattriley%2Fnode-duplicate-file-finder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattriley%2Fnode-duplicate-file-finder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattriley%2Fnode-duplicate-file-finder/lists"}