hash-files icon indicating copy to clipboard operation
hash-files copied to clipboard

A simple function for computing the hash of the contents of a set of files.

Results 5 hash-files issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/7792886/219656727-9195827e-6683-4ece-852e-06303cf4964d.png) **Command**: `hash-files -f '["package.json"]'` **Expected:** Hash the array of files **Actual:** `Error: Option "files" has a value that cannot be converted to an Object/Array: '[package.json]'` **System**: **OS**: Windows 11...

As far as I understand, this works by concatenating all of the files together and then hashing the result. Does this mean that we can get the same hash when...

bug

As example, the command should be like: `$ ./bin/hash-files -f '["package.json"]' -a sha256` But it would throw an error said `Option "files" has a value that cannot be converted to...

All I added was a new method called `hashFiles.promise` that is just a Promise wrapper for hashFiles. I guess I probably should have opened up an issue first, but whatever,...

I'm trying to get hash of a file but it doesn't work. this is my code : hashFiles({"files":'/path/to/my/file', "algorithm":'sha256'}, function(error, hash){ if (error) throw error; console.log(hash); }); abd into server.js...