Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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);
});

```