2.0.1 • Published 5 years ago

ashify v2.0.1

Weekly downloads
432
License
MIT
Repository
github
Last release
5 years ago

Ashify

Get hash of stream.

How to use?

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

2.0.1

5 years ago

2.0.0

5 years ago

1.0.2

7 years ago

1.0.1

9 years ago

1.0.0

9 years ago