0.12.0 • Published 1 year ago
duplicate-file-finder v0.12.0
Duplicate File Finder
Finds duplicate files across given directories without hashing.
Table of Contents
Install
https://www.npmjs.com/package/duplicate-file-finder
npm install duplicate-file-finder
Usage
const { findDuplicates } = require('duplicate-file-finder');
const sourcePath = 'photos'; // defaults to current directory.
const searchPaths = ['more-photos', 'even-more-photos']; // defaults to empty.
const duplicates = findDuplicates({ sourcePath, searchPaths }).then(duplicates => {
// do something with duplicates.
});
duplicates
is a data structure like:
[
[
'photos/family.jpg',
'more-photos/copy-of-family.jpg',
'even-more-photos/another-copy-of-family.jpg'
],
[
'photos/pets.jpg',
'more-photos/copy-of-pets.jpg'
]
]
Architecture
Can't see the diagram? View it on GitHub
graph TD;
effects-->strategies;
effects-->lib;
effects-->io;
commands-->strategies;
commands-->effects;
commands-->lib;
0.12.0
1 year ago
0.11.0
2 years ago
0.10.0
2 years ago
0.9.0
2 years ago
0.8.0
2 years ago
0.7.0
2 years ago
0.5.0
3 years ago
0.6.0
3 years ago
0.2.10
3 years ago
0.3.0
3 years ago
0.2.7
3 years ago
0.2.6
3 years ago
0.2.9
3 years ago
0.2.8
3 years ago
0.4.0
3 years ago
0.2.5
3 years ago
0.2.3
3 years ago
0.2.2
3 years ago
0.2.4
3 years ago
0.2.1
3 years ago
0.2.0
3 years ago
0.1.8
4 years ago
0.1.7
4 years ago
0.1.9
4 years ago
0.1.6
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago