Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shakyshane/hash-dir
Create a sha256 hash from a directory of files
https://github.com/shakyshane/hash-dir
Last synced: about 1 month ago
JSON representation
Create a sha256 hash from a directory of files
- Host: GitHub
- URL: https://github.com/shakyshane/hash-dir
- Owner: shakyShane
- License: mit
- Created: 2015-05-20T10:26:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-20T10:29:24.000Z (over 9 years ago)
- Last Synced: 2024-04-14T07:49:48.774Z (9 months ago)
- Language: JavaScript
- Size: 113 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hash-dir
> A fork of merkle-dir that also takes filenames into account.
## Installation
With [npm](https://npmjs.org) do:
```bash
npm install hash-dir
```## Usage
```js
var hashdir = require('hash-dir');hashdir(__dirname + '/test/fixtures', function(err, tree) {
console.log(tree.hash);
});```