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

https://github.com/coderaiser/node-ashify

Get hash of stream
https://github.com/coderaiser/node-ashify

Last synced: 11 months ago
JSON representation

Get hash of stream

Awesome Lists containing this project

README

          

# Ashify

Get hash of stream.

## How to use?

```js
const fs = require('fs');
const ashify = require('ashify');
const ashify = require('try-to-catch');
const stream = fs.createReadStream('README.md');
const options = {
algorithm: 'sha1',
encoding: 'hex'
};

const [error, data] = await tryToCatch(ashify, stream, options);
console.log(error, data);
```

## License

MIT