{"_id":"blob-to-hash","_rev":"1-fbf27b5c9bbf3e2684cb4bc81c0cc747","name":"blob-to-hash","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"blob-to-hash","version":"0.0.1","description":"Calculates a given hash of a given blob","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git@github.com:dimitarnestorov/file-to-hash.git"},"homepage":"https://github.com/dimitarnestorov/file-to-hash/tree/master/packages/blob-to-hash","author":{"name":"Dimitar Nestorov","email":"opensource@dimitarnestorov.com"},"license":"MIT","keywords":["blob","file","checksum","hash","hex","base64","crypto"],"scripts":{"prepublishOnly":"yarn run build","build":"rimraf dist && tsc","watch":"rimraf dist && tsc -w"},"_id":"blob-to-hash@0.0.1","dist":{"shasum":"121d8738d40a77325ff47d22536702bc8559884d","integrity":"sha512-V9N46n90/oa7U+GSYo1lZfPmn9DDVUP//eqy3jErzaTglI2o6SNsUtcNqfH79tBbUaVnx6XNJRGG8LTyb/hxCQ==","tarball":"https://registry.npmjs.org/blob-to-hash/-/blob-to-hash-0.0.1.tgz","fileCount":6,"unpackedSize":2344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJpu5CRA9TVsSAnZWagAAjOAP/10PgTZ67Isqt0yEzDKY\nCqzZnGlP0JsXptVXwEqJkd4FQVuhP744hnZRxPIB4T2u6KcYyUzL7ZFY0Veq\ntxBFuQy4JlZdkGvJKEM1Z2rabL0C8Mig0q4npaGpUlkR9HA8/Zx6VKKTqyCD\nGZDq1/DMUdGVYVCK3qrlgcW1OyUA/MyjICnx9Z40qqTQixJLzqNFe2XNED2p\nIR2qnH9MEWiW0X75JdgiJONn+qq2J2NQBZa2ERZHUT8m8UYbhd6zkkNQAy8u\nleTeKDf4dgohLtuL2Fah48FfFTgtlrDw58ufVkkwVjxC2I71xXNxNRCPQD2R\nM6E1SzyI/Ys2cBqlkBYkQ7klj1IWZgYCehMEizr2ouwtU9sGrL4TjenYMMJs\nlrLKlH9sDW9PzzWpTxhkIajCEaC86vZyIf6v5gajn0oHjWiqifthfnYttrP6\nWMrIIIrB71rMzhbcOj7gn+p4dSMrXr1ZJrdjtnvtN2kUQKxNBMLBy03F8yG+\n4cuJr8jTqbsszZxv05uMxN3+a8zZOp4AXABmhENYDlDmbPrZZhKoTrNOhbtq\nqkPlI+qXwh0JtuM2v3nS4BA3aKqNUKJI417FIvLllwFi3231GE0y6F2fYU+o\n95SH+LCvCp/ClnMvPrlzyflvUFTR8flO2pX95pMSG1izczhSdBUQ8BMpCsCu\ntz81\r\n=XnaV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFi8BjTs9IoZ0Hmu8DGFxtRtXCD1YoBpOUM+/R1iJrzmAiEAkpTqyx1NrVC33AK4XoyySSlIeyUaiGE4FWlfpP1MLiA="}]},"maintainers":[{"name":"dimitarnestorov","email":"opensource@dimitarnestorov.com"}],"_npmUser":{"name":"dimitarnestorov","email":"opensource@dimitarnestorov.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/blob-to-hash_0.0.1_1546034104983_0.31283497527893056"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-28T21:55:04.800Z","0.0.1":"2018-12-28T21:55:05.073Z","modified":"2022-04-12T03:44:05.368Z"},"maintainers":[{"name":"dimitarnestorov","email":"opensource@dimitarnestorov.com"}],"description":"Calculates a given hash of a given blob","homepage":"https://github.com/dimitarnestorov/file-to-hash/tree/master/packages/blob-to-hash","keywords":["blob","file","checksum","hash","hex","base64","crypto"],"repository":{"type":"git","url":"git@github.com:dimitarnestorov/file-to-hash.git"},"author":{"name":"Dimitar Nestorov","email":"opensource@dimitarnestorov.com"},"license":"MIT","readme":"# blob-to-hash\n\n> Calculates a given hash of a given blob\n\n## Install\n\nUsing yarn:\n```sh\nyarn add blob-to-hash\n```\n\nor using npm:\n```sh\nnpm install blob-to-hash\n```\n\n## Usage\n```javascript\nimport blobToHash from 'blob-to-hash'\n\nconst hash = await blobToHash('sha256', fileInput.files[0])\n```\n","readmeFilename":"README.md"}