{"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"keywords":["hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"dist-tags":{"latest":"7.0.0"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"description":"Get the hash of a buffer/string/stream/file","readme":"<h1 align=\"center\">\n\t<br>\n\t<br>\n\t<br>\n\t<img width=\"380\" src=\"media/logo.svg\" alt=\"hasha\">\n\t<br>\n\t<br>\n\t<br>\n\t<br>\n\t<br>\n</h1>\n\n> Hashing made simple. Get the hash of a buffer/string/stream/file.\n\n[![Build Status](https://travis-ci.com/sindresorhus/hasha.svg?branch=master)](https://travis-ci.com/github/sindresorhus/hasha)\n\nConvenience wrapper around the core [`crypto` Hash class](https://nodejs.org/api/crypto.html#crypto_crypto_createhash_algorithm) with simpler API and better defaults.\n\n## Install\n\n```\n$ npm install hasha\n```\n\n## Usage\n\n```js\nconst hasha = require('hasha');\n\nhasha('unicorn');\n//=> 'e233b19aabc7d5e53826fb734d1222f1f0444c3a3fc67ff4af370a66e7cadd2cb24009f1bc86f0bed12ca5fcb226145ad10fc5f650f6ef0959f8aadc5a594b27'\n```\n\n```js\nconst hasha = require('hasha');\n\n(async () => {\n\tconsole.log(await hasha.async('unicorn'));\n\t//=> 'e233b19aabc7d5e53826fb734d1222f1f0444c3a3fc67ff4af370a66e7cadd2cb24009f1bc86f0bed12ca5fcb226145ad10fc5f650f6ef0959f8aadc5a594b27'\n})();\n```\n\n```js\nconst hasha = require('hasha');\n\n// Hash the process input and output the hash sum\nprocess.stdin.pipe(hasha.stream()).pipe(process.stdout);\n```\n\n```js\nconst hasha = require('hasha');\n\n(async () => {\n\t// Get the MD5 hash of an image\n\tconst hash = await hasha.fromFile('unicorn.png', {algorithm: 'md5'});\n\n\tconsole.log(hash);\n\t//=> '1abcb33beeb811dca15f0ac3e47b88d9'\n})();\n```\n\n## API\n\nSee the Node.js [`crypto` docs](https://nodejs.org/api/crypto.html#crypto_crypto_createhash_algorithm_options) for more about hashing.\n\n### hasha(input, options?)\n\nReturns a hash.\n\n#### input\n\nType: `Buffer | string | Array<Buffer | string>`\n\nBuffer you want to hash.\n\nWhile strings are supported you should prefer buffers as they're faster to hash. Although if you already have a string you should not convert it to a buffer.\n\nPass an array instead of concatenating strings and/or buffers. The output is the same, but arrays do not incur the overhead of concatenation.\n\n#### options\n\nType: `object`\n\n##### encoding\n\nType: `string`\\\nDefault: `'hex'`\\\nValues: `'hex' | 'base64' | 'buffer' | 'latin1'`\n\nEncoding of the returned hash.\n\n##### algorithm\n\nType: `string`\\\nDefault: `'sha512'`\\\nValues: `'md5' | 'sha1' | 'sha256' | 'sha512'` *([Platform dependent](https://nodejs.org/api/crypto.html#crypto_crypto_createhash_algorithm_options))*\n\n*The `md5` algorithm is good for [file revving](https://github.com/sindresorhus/rev-hash), but you should never use `md5` or `sha1` for anything sensitive. [They're insecure.](https://security.googleblog.com/2014/09/gradually-sunsetting-sha-1.html)*\n\n### hasha.async(input, options?)\n\nIn Node.js 12 or later, the operation is executed using `worker_threads`. A thread is lazily spawned on the first operation and lives until the end of the program execution. It's unrefed, so it won't keep the process alive.\n\nReturns a hash asynchronously.\n\n### hasha.stream(options?)\n\nReturns a [hash transform stream](https://nodejs.org/api/crypto.html#crypto_class_hash).\n\n### hasha.fromStream(stream, options?)\n\nReturns a `Promise` for the calculated hash.\n\n### hasha.fromFile(filepath, options?)\n\nIn Node.js 12 or later, the operation is executed using `worker_threads`. A thread is lazily spawned on the first operation and lives until the end of the program execution. It's unrefed, so it won't keep the process alive.\n\nReturns a `Promise` for the calculated file hash.\n\n### hasha.fromFileSync(filepath, options?)\n\nReturns the calculated file hash.\n\n## Related\n\n- [hasha-cli](https://github.com/sindresorhus/hasha-cli) - CLI for this module\n- [crypto-hash](https://github.com/sindresorhus/crypto-hash) - Tiny hashing module that uses the native crypto API in Node.js and the browser\n- [hash-obj](https://github.com/sindresorhus/hash-obj) - Get the hash of an object\n- [md5-hex](https://github.com/sindresorhus/md5-hex) - Create a MD5 hash with hex encoding\n","repository":{"type":"git","url":"git+https://github.com/sindresorhus/hasha.git"},"users":{"l3au":true,"456wyc":true,"ajsb85":true,"axelav":true,"cr8tiv":true,"zalithka":true,"cilindrox":true,"iwasawafag":true,"ridermansb":true,"rocket0191":true,"xinwangwang":true,"chocolateboy":true,"stovmascript":true,"zhenguo.zhao":true,"bhaskarmelkani":true,"jfernandezgersol":true},"bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"license":"MIT","versions":{"1.0.0":{"name":"hasha","version":"1.0.0","description":"Get the hash of a buffer/string/stream/file","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/hasha"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"hasha":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js","cli.js"],"keywords":["cli-app","cli","hash","crypto","hex","base64","md5","sha1","sha256","sha512","stream","file","fs","buffer","string"],"dependencies":{"is-stream":"^1.0.1","meow":"^3.1.0"},"devDependencies":{"ava":"0.0.4","is-stream":"^1.0.1"},"gitHead":"76ec22e37f6bce68849bac2b8cbd3d748e463ea3","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"homepage":"https://github.com/sindresorhus/hasha","_id":"hasha@1.0.0","_shasum":"35f16d97d4f0de64b099848f2a866cd0fdee80d6","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"35f16d97d4f0de64b099848f2a866cd0fdee80d6","size":3057,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-1.0.0.tgz","integrity":"sha512-4F7oanhtImVsVvwEUYp/wUYnhYn0u4UXl3MQYl0ngf07bZkYasB7efqOosK0V0GQL1La/Txf8cP1HRPmf3GufQ=="},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"publish_time":1432373546579,"_hasShrinkwrap":false,"_cnpm_publish_time":1432373546579,"_cnpmcore_publish_time":"2021-12-13T06:58:41.664Z"},"1.0.1":{"name":"hasha","version":"1.0.1","description":"Hashing made simple. Get the hash of a buffer/string/stream/file.","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/hasha"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"hasha":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js","cli.js"],"keywords":["cli-app","cli","hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"dependencies":{"is-stream":"^1.0.1","meow":"^3.1.0"},"devDependencies":{"ava":"0.0.4","is-stream":"^1.0.1"},"gitHead":"97160e0c7192af28673f46624a68e35b227e9379","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"homepage":"https://github.com/sindresorhus/hasha","_id":"hasha@1.0.1","_shasum":"cd41618d0a642c76983b97ef277f6f8a9f19710f","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"cd41618d0a642c76983b97ef277f6f8a9f19710f","size":3249,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-1.0.1.tgz","integrity":"sha512-JvATJkGM3hgJKnczv0PAlT4DfbkI3WQWIFzxpkKuhNkjJaWTQueX2Ubl63wP3liYSppsBz5RZJFXTz7NH38c9w=="},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"publish_time":1434134729779,"_hasShrinkwrap":false,"_cnpm_publish_time":1434134729779,"_cnpmcore_publish_time":"2021-12-13T06:58:41.154Z"},"2.0.0":{"name":"hasha","version":"2.0.0","description":"Hashing made simple. Get the hash of a buffer/string/stream/file.","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/hasha"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"dependencies":{"is-stream":"^1.0.1","pinkie-promise":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"4a603bbf66f68fa7d407692b4caac8d508979ff6","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"homepage":"https://github.com/sindresorhus/hasha","_id":"hasha@2.0.0","_shasum":"ccfe7ce1f13c3b9aa8ed6e23f93d396b5d6bdf38","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ccfe7ce1f13c3b9aa8ed6e23f93d396b5d6bdf38","size":2879,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-2.0.0.tgz","integrity":"sha512-JgLsVrwoGZRsPg/SC+33jK2QyvjMqt+H5QCNNzAk1WgG5Ib70StzCiOWEOxngq/0W2tnwSqNqza92SFYU5pBZg=="},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"publish_time":1441097692977,"_hasShrinkwrap":false,"_cnpm_publish_time":1441097692977,"_cnpmcore_publish_time":"2021-12-13T06:58:40.696Z"},"2.0.1":{"name":"hasha","version":"2.0.1","description":"Hashing made simple. Get the hash of a buffer/string/stream/file.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/hasha.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"dependencies":{"is-stream":"^1.0.1","pinkie-promise":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"98e8a42bb89d508799a13de7b62f99dc6513860b","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"homepage":"https://github.com/sindresorhus/hasha#readme","_id":"hasha@2.0.1","_shasum":"454830ccaf486639f72f9518a417b4458b9898d0","_from":".","_npmVersion":"2.14.1","_nodeVersion":"0.12.7","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"454830ccaf486639f72f9518a417b4458b9898d0","size":2880,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-2.0.1.tgz","integrity":"sha512-r3WMDQOGiXeiHxTUBBNc1G7LJXu1LV4+Ng9j4VgOUvQV/yUqgeSKw/QEC3+y4JgjMveOB/uwwk/MM7avj4WATA=="},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"publish_time":1441104293062,"_hasShrinkwrap":false,"_cnpm_publish_time":1441104293062,"_cnpmcore_publish_time":"2021-12-13T06:58:40.292Z"},"2.0.2":{"name":"hasha","version":"2.0.2","description":"Hashing made simple. Get the hash of a buffer/string/stream/file.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/hasha.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"dependencies":{"is-stream":"^1.0.1","pinkie-promise":"^1.0.0"},"devDependencies":{"ava":"*","proxyquire":"^1.7.2","xo":"*"},"gitHead":"107d0060ffd26c5741281b046396b90e87cbcf2a","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"homepage":"https://github.com/sindresorhus/hasha#readme","_id":"hasha@2.0.2","_shasum":"85567e51782e1af00ba7f5428ff711775fa8ccaa","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.1.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"85567e51782e1af00ba7f5428ff711775fa8ccaa","size":2897,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-2.0.2.tgz","integrity":"sha512-c4e1zjg7VXEpmQYe1hn+ZwkEQvNYIsWPj3IgOApa3X6zegrW6d7KWhSv0EiBFb9BHDEokA7UOqS1T2PqYqCPdw=="},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"publish_time":1442990746562,"_hasShrinkwrap":false,"_cnpm_publish_time":1442990746562,"_cnpmcore_publish_time":"2021-12-13T06:58:39.900Z"},"2.1.0":{"name":"hasha","version":"2.1.0","description":"Hashing made simple. Get the hash of a buffer/string/stream/file.","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/hasha"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"dependencies":{"is-stream":"^1.0.1","pinkie-promise":"^2.0.0"},"devDependencies":{"ava":"*","proxyquire":"^1.7.2","xo":"*"},"gitHead":"0556c3fe4261d5d35e5e8a78fbd8625b72d225e9","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"homepage":"https://github.com/sindresorhus/hasha","_id":"hasha@2.1.0","_shasum":"6eede981a5025a0e3ce4e316179eed1211ec9fdd","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"6eede981a5025a0e3ce4e316179eed1211ec9fdd","size":2900,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-2.1.0.tgz","integrity":"sha512-NOFvVus25kAoTcLTSswLMpgJFqLCn0JldTUlBkErUupYfMah1zUkueJNwQhBNg4YkgOdi2J2S5JuiF66a1D0Mw=="},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"publish_time":1450906644549,"_hasShrinkwrap":false,"_cnpm_publish_time":1450906644549,"_cnpmcore_publish_time":"2021-12-13T06:58:39.520Z"},"2.2.0":{"name":"hasha","version":"2.2.0","description":"Hashing made simple. Get the hash of a buffer/string/stream/file.","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/hasha"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"dependencies":{"is-stream":"^1.0.1","pinkie-promise":"^2.0.0"},"devDependencies":{"ava":"*","proxyquire":"^1.7.2","xo":"*"},"gitHead":"5104d62d41122047a9da143fcd05e9397ff494a2","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"homepage":"https://github.com/sindresorhus/hasha","_id":"hasha@2.2.0","_shasum":"78d7cbfc1e6d66303fe79837365984517b2f6ee1","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"78d7cbfc1e6d66303fe79837365984517b2f6ee1","size":3005,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-2.2.0.tgz","integrity":"sha512-jZ38TU/EBiGKrmyTNNZgnvCZHNowiRI4+w/I9noMlekHTZH3KyGgvJLmhSgykeAQ9j2SYPDosM0Bg3wHfzibAQ=="},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"publish_time":1450961817684,"_hasShrinkwrap":false,"_cnpm_publish_time":1450961817684,"_cnpmcore_publish_time":"2021-12-13T06:58:39.112Z"},"3.0.0":{"name":"hasha","version":"3.0.0","description":"Hashing made simple. Get the hash of a buffer/string/stream/file.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/hasha.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"dependencies":{"is-stream":"^1.0.1"},"devDependencies":{"ava":"*","proxyquire":"^1.7.2","xo":"*"},"gitHead":"92f09c8384553b40ab8fbde207056db66011a3ef","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"homepage":"https://github.com/sindresorhus/hasha#readme","_id":"hasha@3.0.0","_shasum":"52a32fab8569d41ca69a61ff1a214f8eb7c8bd39","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"52a32fab8569d41ca69a61ff1a214f8eb7c8bd39","size":2976,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-3.0.0.tgz","integrity":"sha512-w0Kz8lJFBoyaurBiNrIvxPqr/gJ6fOfSkpAPOepN3oECqGJag37xPbOv57izi/KP8auHgNYxn5fXtAb+1LsJ6w=="},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/hasha-3.0.0.tgz_1494382030659_0.45051799225620925"},"directories":{},"publish_time":1494382033229,"_hasShrinkwrap":false,"_cnpm_publish_time":1494382033229,"_cnpmcore_publish_time":"2021-12-13T06:58:38.775Z"},"4.0.0":{"name":"hasha","version":"4.0.0","description":"Hashing made simple. Get the hash of a buffer/string/stream/file.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/hasha.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"dependencies":{"is-stream":"^1.0.1"},"devDependencies":{"@types/node":"^11.10.5","ava":"^1.3.1","proxyquire":"^2.1.0","tsd-check":"^0.3.0","xo":"^0.24.0"},"gitHead":"c11e960b01a7d6f5e98b4bf0a81c347bbe3a56fd","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"homepage":"https://github.com/sindresorhus/hasha#readme","_id":"hasha@4.0.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"42395b2f43e43721fa9a15fad09eb207cd67891b","size":3666,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-4.0.0.tgz","integrity":"sha512-l1Ly05OPK1xy9c1TEJafatzvA8KaDuiPh1Zai+OURc8U6y2BHS6keIV6mPhYJezgVIaAl8qU49mPC2IrlNLxow=="},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hasha_4.0.0_1552365756945_0.3590712789431485"},"_hasShrinkwrap":false,"publish_time":1552365757112,"_cnpm_publish_time":1552365757112,"_cnpmcore_publish_time":"2021-12-13T06:58:38.406Z"},"4.0.1":{"name":"hasha","version":"4.0.1","description":"Hashing made simple. Get the hash of a buffer/string/stream/file.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/hasha.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"dependencies":{"is-stream":"^1.0.1"},"devDependencies":{"@types/node":"^11.10.5","ava":"^1.3.1","proxyquire":"^2.1.0","tsd-check":"^0.3.0","xo":"^0.24.0"},"gitHead":"d6d569112d01938a26275e285886474db2aa9b6d","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"homepage":"https://github.com/sindresorhus/hasha#readme","_id":"hasha@4.0.1","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"1b0d97b5732127660f2e0b1371c2cc35962f17d0","size":3657,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-4.0.1.tgz","integrity":"sha512-+wnvroCn3pq0CAKWfItGPyl0DJOob2qs/2D/Rh0a/O90LBzmo5GaKHwIRb6FInVvmEl1mCIHL5RqlfTLvh6FoQ=="},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hasha_4.0.1_1552476462238_0.2508379897893258"},"_hasShrinkwrap":false,"publish_time":1552476462345,"_cnpm_publish_time":1552476462345,"_cnpmcore_publish_time":"2021-12-13T06:58:37.966Z"},"5.0.0":{"name":"hasha","version":"5.0.0","description":"Hashing made simple. Get the hash of a buffer/string/stream/file.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/hasha.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"dependencies":{"is-stream":"^1.1.0","type-fest":"^0.3.0"},"devDependencies":{"@types/node":"^11.13.0","ava":"^1.4.1","proxyquire":"^2.1.0","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"c26d621b6299b8b60445f8393405872416b4c6f1","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"homepage":"https://github.com/sindresorhus/hasha#readme","_id":"hasha@5.0.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"fdc3785caea03df29535fc8adb512c3d3a709004","size":3720,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-5.0.0.tgz","integrity":"sha512-PqWdhnQhq6tqD32hZv+l1e5mJHNSudjnaAzgAHfkGiU0ABN6lmbZF8abJIulQHbZ7oiHhP8yL6O910ICMc+5pw=="},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hasha_5.0.0_1554448904540_0.8240454159205137"},"_hasShrinkwrap":false,"publish_time":1554448904671,"_cnpm_publish_time":1554448904671,"_cnpmcore_publish_time":"2021-12-13T06:58:37.646Z"},"5.1.0":{"name":"hasha","version":"5.1.0","description":"Hashing made simple. Get the hash of a buffer/string/stream/file.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/hasha.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"dependencies":{"is-stream":"^2.0.0","type-fest":"^0.8.0"},"devDependencies":{"@types/node":"^12.7.5","ava":"^2.4.0","proxyquire":"^2.1.0","tsd":"^0.8.0","xo":"^0.24.0"},"xo":{"rules":{"import/no-unresolved":"off"}},"gitHead":"b01a5ccea4af0c9cc444dcef9cd2e776c9fe2d53","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"homepage":"https://github.com/sindresorhus/hasha#readme","_id":"hasha@5.1.0","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"dd05ccdfcfe7dab626247ce2a58efe461922f4ca","size":4965,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-5.1.0.tgz","integrity":"sha512-OFPDWmzPN1l7atOV1TgBVmNtBxaIysToK6Ve9DK+vT6pYuklw/nPNT+HJbZi0KDcI6vWB+9tgvZ5YD7fA3CXcA=="},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hasha_5.1.0_1569140568742_0.3696372273130113"},"_hasShrinkwrap":false,"publish_time":1569140568889,"_cnpm_publish_time":1569140568889,"_cnpmcore_publish_time":"2021-12-13T06:58:37.304Z"},"5.2.0":{"name":"hasha","version":"5.2.0","description":"Hashing made simple. Get the hash of a buffer/string/stream/file.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/hasha.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"dependencies":{"is-stream":"^2.0.0","type-fest":"^0.8.0"},"devDependencies":{"@types/node":"^12.7.5","ava":"^2.4.0","proxyquire":"^2.1.0","tsd":"^0.8.0","xo":"^0.24.0"},"xo":{"rules":{"import/no-unresolved":"off"}},"gitHead":"c93f8230153a35d1bbe5a3d274a688107792d2ec","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"homepage":"https://github.com/sindresorhus/hasha#readme","_id":"hasha@5.2.0","_nodeVersion":"13.1.0","_npmVersion":"6.12.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"33094d1f69c40a4a6ac7be53d5fe3ff95a269e0c","size":4942,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-5.2.0.tgz","integrity":"sha512-2W+jKdQbAdSIrggA8Q35Br8qKadTrqCTC8+XZvBWepKDK6m9XkX6Iz1a2yh2KP01kzAR/dpuMeUnocoLYDcskw=="},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hasha_5.2.0_1581858246350_0.7998151348387368"},"_hasShrinkwrap":false,"publish_time":1581858246888,"_cnpm_publish_time":1581858246888,"_cnpmcore_publish_time":"2021-12-13T06:58:36.976Z"},"5.2.1":{"name":"hasha","version":"5.2.1","description":"Hashing made simple. Get the hash of a buffer/string/stream/file.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/hasha.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"dependencies":{"is-stream":"^2.0.0","type-fest":"^0.8.0"},"devDependencies":{"@types/node":"^12.7.5","ava":"^2.4.0","proxyquire":"^2.1.0","tsd":"^0.8.0","xo":"^0.24.0"},"xo":{"rules":{"import/no-unresolved":"off"}},"gitHead":"0184c7126d1ccf08ba8b28daa5355b634188bf90","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"homepage":"https://github.com/sindresorhus/hasha#readme","_id":"hasha@5.2.1","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"0e5b492aa40de3819e80955f221d2fccef55b5aa","size":4939,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-5.2.1.tgz","integrity":"sha512-x15jnRSHTi3VmH+oHtVb9kgU/HuKOK8mjK8iCL3dPQXh4YJlUb9YSI8ZLiiqLAIvY2wuDIlZYZppy8vB2XISkQ=="},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hasha_5.2.1_1601210262551_0.6942955914665843"},"_hasShrinkwrap":false,"publish_time":1601210262740,"_cnpm_publish_time":1601210262740,"_cnpmcore_publish_time":"2021-12-13T06:58:36.669Z"},"5.2.2":{"name":"hasha","version":"5.2.2","description":"Hashing made simple. Get the hash of a buffer/string/stream/file.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/hasha.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"dependencies":{"is-stream":"^2.0.0","type-fest":"^0.8.0"},"devDependencies":{"@types/node":"^12.7.5","ava":"^2.4.0","proxyquire":"^2.1.0","tsd":"^0.8.0","xo":"^0.24.0"},"xo":{"rules":{"import/no-unresolved":"off"}},"gitHead":"6e9d961913bd446167b23007e76bd00ef470736c","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"homepage":"https://github.com/sindresorhus/hasha#readme","_id":"hasha@5.2.2","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"a48477989b3b327aea3c04f53096d816d97522a1","size":4930,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-5.2.2.tgz","integrity":"sha512-Hrp5vIK/xr5SkeN2onO32H0MgNZ0f17HRNH39WfL0SYUNOTZ5Lz1TJ8Pajo/87dYGEFlLMm7mIc/k/s6Bvz9HQ=="},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hasha_5.2.2_1602203022226_0.7607685003966875"},"_hasShrinkwrap":false,"publish_time":1602203022371,"_cnpm_publish_time":1602203022371,"_cnpmcore_publish_time":"2021-12-13T06:58:36.343Z"},"6.0.0":{"name":"hasha","version":"6.0.0","keywords":["hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"hasha@6.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/hasha#readme","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"xo":{"rules":{"n/prefer-global/buffer":"off","unicorn/no-await-expression-member":"off"}},"dist":{"shasum":"bdf1231ae40b406121c09c13705e5b38c1bb607c","tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-6.0.0.tgz","fileCount":6,"integrity":"sha512-MLydoyGp9QJcjlhE5lsLHXYpWayjjWqkavzju2ZWD2tYa1CgmML1K1gWAu22BLFa2eZ0OfvJ/DlfoVjaD54U2Q==","signatures":[{"sig":"MEYCIQChzTD4+zP7GHphWjPMLj2KN06TGWFMzsBhf7hIRwL0XwIhAKwjXDz/q4KTvPGVlbmPlwd/ONckjNWXGMh3C+o41xCx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14838},"type":"module","types":"./index.d.ts","engines":{"node":">=18"},"exports":{"types":"./index.d.ts","default":"./index.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"0ea6070fdd11d656097719c06b3134cc111ee5d0","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/hasha.git","type":"git"},"_npmVersion":"9.2.0","description":"Hashing made simple. Get the hash of a buffer/string/stream/file.","directories":{},"sideEffects":false,"_nodeVersion":"20.9.0","dependencies":{"is-stream":"^3.0.0","type-fest":"^4.7.1"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.56.0","ava":"^5.3.1","tsd":"^0.29.0","esmock":"^2.6.0","@types/node":"^20.9.0"},"_npmOperationalInternal":{"tmp":"tmp/hasha_6.0.0_1699706452054_0.1308471841501635","host":"s3://npm-registry-packages"}},"7.0.0":{"name":"hasha","version":"7.0.0","description":"Hashing made simple. Get the hash of a buffer/string/stream/file.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/hasha.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && node --test && tsc index.d.ts"},"keywords":["hash","hashing","crypto","hex","base64","md5","sha1","sha256","sha512","sum","stream","file","fs","buffer","string","text","rev","revving","simple","easy"],"dependencies":{"is-stream":"^4.0.1","type-fest":"^4.41.0"},"devDependencies":{"@types/node":"^24.3.1","esmock":"^2.7.3","typescript":"^5.9.2","xo":"^1.2.2"},"xo":{"rules":{"unicorn/no-await-expression-member":"off","n/prefer-global/buffer":"off"}},"_id":"hasha@7.0.0","gitHead":"1d6c692683627cad5c1dbcf42bdc8cb84816ab8e","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/hasha/issues"},"homepage":"https://github.com/sindresorhus/hasha#readme","_nodeVersion":"20.19.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-+OPiRBbKJgGQRJ/IaYXmpnMlg7E+GPL38vVJx4Jcjnax4mrrYV0WteTMf57tgkKs10a1wWS4DOXCnDORWdIy4g==","shasum":"b3d7f1f32fb4919d9a77da07820625ab6748f47a","tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/hasha/-/hasha-7.0.0.tgz","fileCount":6,"unpackedSize":19317,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIENHv5BkYZLyDxeupw21+nT5TnTUa6vJgK3Fq3k5lNWFAiEAtQrf4X2Z+V8Sg/S+30LwRqko2B2OmvyLPGOoWyxBHg8="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hasha_7.0.0_1757696944135_0.5867226899387548"},"_hasShrinkwrap":false}},"name":"hasha","time":{"created":"2022-01-26T14:26:35.693Z","modified":"2023-04-27T09:42:45.694Z","1.0.0":"2015-05-23T09:32:26.579Z","1.0.1":"2015-06-12T18:45:29.779Z","2.0.0":"2015-09-01T08:54:52.977Z","2.0.1":"2015-09-01T10:44:53.062Z","2.0.2":"2015-09-23T06:45:46.562Z","2.1.0":"2015-12-23T21:37:24.549Z","2.2.0":"2015-12-24T12:56:57.684Z","3.0.0":"2017-05-10T02:07:13.229Z","4.0.0":"2019-03-12T04:42:37.112Z","4.0.1":"2019-03-13T11:27:42.345Z","5.0.0":"2019-04-05T07:21:44.671Z","5.1.0":"2019-09-22T08:22:48.889Z","5.2.0":"2020-02-16T13:04:06.888Z","5.2.1":"2020-09-27T12:37:42.740Z","5.2.2":"2020-10-09T00:23:42.371Z","6.0.0":"2023-11-11T12:40:52.269Z","7.0.0":"2025-09-12T17:09:04.324Z"},"readmeFilename":"readme.md","homepage":"https://github.com/sindresorhus/hasha#readme"}