blob-to-hash
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

blob-to-hash

Calculates a given hash of a given blob

Install

Using yarn:

yarn add blob-to-hash

or using npm:

npm install blob-to-hash

Usage

import blobToHash from 'blob-to-hash'
 
const hash = await blobToHash('sha256', fileInput.files[0])

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i blob-to-hash

      Weekly Downloads

      1,053

      Version

      0.0.1

      License

      MIT

      Unpacked Size

      2.34 kB

      Total Files

      6

      Last publish

      Collaborators

      • dimitarnestorov