ashify

2.0.1 • Public • Published

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

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i ashify

    Weekly Downloads

    149

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    4.82 kB

    Total Files

    6

    Last publish

    Collaborators

    • coderaiser