{"_id":"many-file-hashes","_rev":"28-7540a7e609df104aa7046fb5cb9d7ff8","name":"many-file-hashes","description":"Get the hashes of multiple files.","dist-tags":{"latest":"0.5.0"},"versions":{"0.1.0":{"name":"many-file-hashes","version":"0.1.0","description":"Get the hashes of multiple files.","main":"index.js","scripts":{"test":"tap ./test/*.js"},"repository":{"type":"git","url":"git://github.com/saibotsivad/many-file-hashes.git"},"keywords":["hash","file"],"author":{"name":"saibotsivad"},"license":"VOL","bugs":{"url":"https://github.com/saibotsivad/many-file-hashes/issues"},"dependencies":{"promise":"~6.0.1"},"devDependencies":{"tap":"~0.4.13"},"_id":"many-file-hashes@0.1.0","dist":{"shasum":"fe8563199707320f260d19488f6ee74d415188ff","tarball":"https://registry.npmjs.org/many-file-hashes/-/many-file-hashes-0.1.0.tgz","integrity":"sha512-DP+1rVGV6WD8HhT2LCXFF1milyZZayXGx3uBpWTOtd/UBCRhsN3KDTf/ulMvfbOa3KIu9xi4irjAkG+IWQT3EQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA2pbqbZOBbgXNjJ5Gu7uJpnfs+qyoFMKwNR4wFkMTVmAiEA0rOz0gbtghNwr51Q40rbS9CfucbbYpq6TvHhrCCHiB4="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"saibotsivad","email":"accounts@davistobias.com"},"maintainers":[{"name":"saibotsivad","email":"accounts@davistobias.com"}],"directories":{}},"0.2.0":{"name":"many-file-hashes","version":"0.2.0","description":"Get the hashes of multiple files.","main":"index.js","scripts":{"test":"tap ./test/*.js"},"repository":{"type":"git","url":"git://github.com/sdmp/many-file-hashes.git"},"keywords":["hash","file"],"author":{"name":"saibotsivad"},"license":"VOL","bugs":{"url":"https://github.com/sdmp/many-file-hashes/issues"},"dependencies":{"promise":"~6.0.1"},"devDependencies":{"tap":"~0.4.13"},"_id":"many-file-hashes@0.2.0","dist":{"shasum":"99a479da997c43818afcc4c44823102bfa9aa6a0","tarball":"https://registry.npmjs.org/many-file-hashes/-/many-file-hashes-0.2.0.tgz","integrity":"sha512-zboqBJTsMvwNDbSDdnhNiwnInkoKsxahrKnaIqlF59dxOo7bAYi7Cwv+SzE1ocsWF83rMc2lN10TqIIPDjYilA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDUunEbynhgeQQd2Gez7LEC6H6KfaeyNN5q/IhODb3pvAiEAuK+TI6iBwp23UXikR5DSsBR92ed53SNs3MNMk5nR82M="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"saibotsivad","email":"accounts@davistobias.com"},"maintainers":[{"name":"saibotsivad","email":"accounts@davistobias.com"}],"directories":{}},"0.2.1":{"name":"many-file-hashes","version":"0.2.1","description":"Get the hashes of multiple files.","main":"index.js","scripts":{"test":"tap ./test/*.js"},"repository":{"type":"git","url":"git://github.com/sdmp/many-file-hashes.git"},"keywords":["hash","file"],"author":{"name":"saibotsivad"},"license":"VOL","bugs":{"url":"https://github.com/sdmp/many-file-hashes/issues"},"dependencies":{"promise":"~6.0.1"},"devDependencies":{"tap":"~0.4.13"},"_id":"many-file-hashes@0.2.1","dist":{"shasum":"080b7c86be51e430fbb7e49814da1c7a71cdeb2e","tarball":"https://registry.npmjs.org/many-file-hashes/-/many-file-hashes-0.2.1.tgz","integrity":"sha512-uQw+PKvJWDLFL+peHVc1rdSk0Gw8zwT7FqljNknlKYX4wSaYnwGzdYhpLmJCp0Iah892slLW+pvPjqUQpm2snQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFYKKZse5GtprEOk7ck2qgYLlBzRmhkv5ugfDEz22TJ/AiBzQcTuVBIQ72u8XiatBMPe1a6J7HIdt3psN+vqzysZzA=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"saibotsivad","email":"accounts@davistobias.com"},"maintainers":[{"name":"saibotsivad","email":"accounts@davistobias.com"}],"directories":{}},"0.3.1":{"name":"many-file-hashes","version":"0.3.1","description":"Get the hashes of multiple files.","main":"index.js","scripts":{"test":"tap ./test/*.js"},"repository":{"type":"git","url":"git://github.com/sdmp/many-file-hashes.git"},"keywords":["hash","file"],"author":{"name":"saibotsivad"},"license":"VOL","bugs":{"url":"https://github.com/sdmp/many-file-hashes/issues"},"dependencies":{"promise":"~6.0.1"},"devDependencies":{"tap":"~0.4.13"},"_id":"many-file-hashes@0.3.1","dist":{"shasum":"cb6e9410a441b424e2dfbeacf636ad8764f40c2f","tarball":"https://registry.npmjs.org/many-file-hashes/-/many-file-hashes-0.3.1.tgz","integrity":"sha512-LYz4gMCmlIvCSH7IX1RRwGjFaRDZPXX71EmbvmQpuiOtATFF6bPttx22kUwnaQzxojv2V3pE6AFBQV32MLmJ2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCw8XCdkyk8wFPKnKkkhkLJLas1IWMtNK3R6r8OWmH6ogIhAK0SqjIa9sPOZ2RZZi7oHxhxyhccbSe/dIih+KE5mHe4"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"saibotsivad","email":"accounts@davistobias.com"},"maintainers":[{"name":"saibotsivad","email":"accounts@davistobias.com"}],"directories":{}},"0.4.1":{"name":"many-file-hashes","version":"0.4.1","description":"Get the hashes of multiple files.","main":"index.js","scripts":{"test":"tap ./test/*.js"},"repository":{"type":"git","url":"git://github.com/sdmp/many-file-hashes.git"},"keywords":["hash","file"],"author":{"name":"saibotsivad"},"license":"VOL","bugs":{"url":"https://github.com/sdmp/many-file-hashes/issues"},"dependencies":{"promise":"~6.0.1"},"devDependencies":{"tap":"~0.4.13"},"_id":"many-file-hashes@0.4.1","dist":{"shasum":"3099014d4aebb2eefd9741e93e1d75fe2e1c5c57","tarball":"https://registry.npmjs.org/many-file-hashes/-/many-file-hashes-0.4.1.tgz","integrity":"sha512-lqrZKGTZOBG/kYquxEwC830zKWjr1k1RmK0wSsPusOhu9Wxhr3ScULW6dbQn8d3J5UlifofRmvS/2dfp3BNNgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHbAjm8KLhxsrklCQ/1nLl0/xS/oUAHX8oaGqD7NEIHhAiA/kZfp6UOYuD00wLX4fwI5ARRDT+CZh1H2LqGS7SdDkw=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"saibotsivad","email":"accounts@davistobias.com"},"maintainers":[{"name":"saibotsivad","email":"accounts@davistobias.com"}],"directories":{}},"0.4.2":{"name":"many-file-hashes","version":"0.4.2","description":"Get the hashes of multiple files.","main":"index.js","scripts":{"test":"tap ./test/*.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/saibotsivad/many-file-hashes.git"},"keywords":["hash","file"],"author":{"name":"saibotsivad"},"license":"VOL","bugs":{"url":"https://github.com/saibotsivad/many-file-hashes/issues"},"dependencies":{"promise":"~6.0.1"},"devDependencies":{"tap":"~0.4.13"},"gitHead":"2e648420dd9307e406d394ccf4a3c8c23fc12068","homepage":"https://github.com/saibotsivad/many-file-hashes#readme","_id":"many-file-hashes@0.4.2","_shasum":"02f7d3e12b3b355ba5a59eff170bcd0059c29ef3","_from":".","_npmVersion":"3.7.5","_nodeVersion":"6.2.1","_npmUser":{"name":"saibotsivad","email":"accounts@davistobias.com"},"dist":{"shasum":"02f7d3e12b3b355ba5a59eff170bcd0059c29ef3","tarball":"https://registry.npmjs.org/many-file-hashes/-/many-file-hashes-0.4.2.tgz","integrity":"sha512-ykmd/Rn17R8Jlt1F60F542yVEtb/BNlilMgjn0HvKeyt6BGvKeWLaI/NceS9qbiGWwpM7NS8+teBwT4grqp0GA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFCjkXiA4/5EjoyiKvtmVR2BfyAUdpet5C85kY58q8YeAiAEWWB+Vihi0oP18iynCK9HjuvZ/kUNoumUG58P/1wfCQ=="}]},"maintainers":[{"name":"saibotsivad","email":"accounts@davistobias.com"},{"name":"npmupdater","email":"npmupdater@tobiaslabs.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/many-file-hashes-0.4.2.tgz_1470358079129_0.3957485156133771"},"directories":{}},"0.4.3":{"name":"many-file-hashes","version":"0.4.3","description":"Get the hashes of multiple files.","main":"index.js","scripts":{"test":"tap ./test/*.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/saibotsivad/many-file-hashes.git"},"keywords":["hash","file"],"author":{"name":"saibotsivad"},"license":"VOL","bugs":{"url":"https://github.com/saibotsivad/many-file-hashes/issues"},"dependencies":{"promise":"~6.0.1"},"devDependencies":{"tap":"~0.4.13"},"gitHead":"ac7142401bb09e5841018780d3a62a82e90d6031","homepage":"https://github.com/saibotsivad/many-file-hashes#readme","_id":"many-file-hashes@0.4.3","_shasum":"5af92ff096b08aa4f2ee2469d87f7c4930296e01","_from":".","_npmVersion":"3.7.5","_nodeVersion":"6.2.1","_npmUser":{"name":"saibotsivad","email":"accounts@davistobias.com"},"dist":{"shasum":"5af92ff096b08aa4f2ee2469d87f7c4930296e01","tarball":"https://registry.npmjs.org/many-file-hashes/-/many-file-hashes-0.4.3.tgz","integrity":"sha512-qhyIvGGIn2aNs/YvsRXvSIWfrLf5J/dRK8S9Hh3XXzqyxcjYNdvWEVmyzrQFcLhT5Kt4dPXFa9TVUNfxxP//Aw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID7J9bpqLpwK2UUFhtRw3pS+JY0I1/S+YlBYO3XB3y+/AiEA7TDaURE71n7zYjHXOimNECVT3kGZANExw77QUjel7qM="}]},"maintainers":[{"name":"saibotsivad","email":"accounts@davistobias.com"},{"name":"npmupdater","email":"npmupdater@tobiaslabs.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/many-file-hashes-0.4.3.tgz_1470358403585_0.23133638547733426"},"directories":{}},"0.5.0":{"name":"many-file-hashes","version":"0.5.0","description":"Get the hashes of multiple files.","main":"index.js","scripts":{"test":"tap ./test/*.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/saibotsivad/many-file-hashes.git"},"keywords":["hash","file"],"author":{"name":"saibotsivad"},"license":"VOL","bugs":{"url":"https://github.com/saibotsivad/many-file-hashes/issues"},"dependencies":{"promise":"~6.0.1"},"devDependencies":{"tap":"~0.4.13"},"gitHead":"6d1e5ed9358a989252a15f84bc8e9ad93e63e934","homepage":"https://github.com/saibotsivad/many-file-hashes#readme","_id":"many-file-hashes@0.5.0","_nodeVersion":"12.16.1","_npmVersion":"6.14.2","dist":{"integrity":"sha512-7bJwKLBSoeMsRVbjetfEIKwhPTiPqKLF0ysNto6xnSEIanfNkxGCiPzdIEVI5Bkq9+fXAT7tU9lfpMQ4vGcMhA==","shasum":"c159db2b466fc1b92e689e3e52fc33a0c6d84133","tarball":"https://registry.npmjs.org/many-file-hashes/-/many-file-hashes-0.5.0.tgz","fileCount":7,"unpackedSize":6551,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOr/yCRA9TVsSAnZWagAAJf4P/j6PLtNKVLeMsMRqd16A\nB+T31zTmEK0Vjaf6ztmRABTKHel4u40Nu+i/F8MPKFZ/rdSL5gZNOr9UGFQ3\n8kX4LrhcY5iOhQ5GmtQrHB9DHC74nWI/CqIYZbtZdrPv4zWxsgPErB3No318\np2ts4GTWXxwuVTPQEoJZuezT5C0n0RlQnbFIEMdvcPzDNgyiFBKRYh/U7nMp\nkAllmUE9R0g89ihx3flI/4EcVzv3oI1OXNbrM0dS+/A2aKdhG43wC6jjytgv\nzcWyxhpeoiuwaRrvR5DKjshTPawaxF2OciNXzAdhNvkGK3H3/m8w9fqLXY+N\nV0/NqyCCE+tlCywEc+m5TrKnMRXUKa4cL4IIWdQDzZdfFP5BJ7fnSU9p5AE1\ntjIQ/nWTBuSOAte4k+RyCmFX86b8ymmbaSGxz32iwpphH2SfLaftiTNb8y3a\nrQkINIT8l9uRyalrHTze/Ny7C/C/rAHC78SVlLFyroLsO6tbGPQzIACGu7tL\nZ2yxWR/weq8jMxhB6kpzf9v/PaZSRnjczjLF0Z2hzUDQ3LFHcF+bNCTECiNh\nLx3C7up/0jHWzpMJtvHK7cKn5wLB005kwd/84r68QYb5qhGKpYeO+txrnaO/\nKUSDHv89gbk9l/2wyX8/Qr+tnoASexKhx/IatTehBZghopG7U2yrCSxO5TXP\nUTL/\r\n=LhIx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBZRxjEaFYE+c8+cmenfdYJR3LJMQqLXLXOZxWMvBu+jAiBiLLDJ3mik2OENdCNhqb1cvsc9o3wu549DokvtCs9Gmg=="}]},"maintainers":[{"name":"saibotsivad","email":"accounts@davistobias.com"}],"_npmUser":{"name":"saibotsivad","email":"accounts@davistobias.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/many-file-hashes_0.5.0_1597685746233_0.20185983558799014"},"_hasShrinkwrap":false}},"readme":"# many-file-hashes\n\nGet the hashes of multiple files.\n\nUses [path](https://www.npmjs.com/package/path) to resolve file path.\n\n## use\n\nSimplest use is like this (outputs `sha1` hashes in `hex` encoding):\n\n```js\nvar manyHashes = require('many-file-hashes')\n\nmanyHashes([ './file1.ext', './file2.ext' ], function(err, hashes) {\n\t/*\n\thashes = [\n\t\t{\n\t\t\toriginal: './file1.ext',\n\t\t\tfullPath: '/tmp/folder/file1.ext',\n\t\t\thash: 'cd92815bf6273acbaf834b9faed277c722068291'\n\t\t}, {\n\t\t\toriginal: './file2.ext',\n\t\t\tfullPath: '/tmp/folder/file2.ext',\n\t\t\thash: 'f6273acbaf834b9faed277c722068291cd92815b'\n\t\t}\n\t]\n\t*/\n})\n```\n\n## first param\n\nYou can pass in any of these as the first parameter:\n\n* `string` : which is interpreted is a single file\n* `array` : which is interpreted as a list of files\n* `object` : which is an options object, see below\n\n## not supported\n\nDoes not do recursive directory walking.\n\nMust be actual files.\n\nUse something like [glob](https://www.npmjs.com/package/glob) to walk directories.\n\n## all options\n\nThe first parameter can be an object, with the following optional parameters, like this:\n\n```js\nvar manyHashes = require('many-file-hashes')\n\nvar options = {\n\tfiles: [ './file.ext' ], // an array of *files* (directories not supported)\n\tencoding: 'base64', // any node.js encoding type: http://nodejs.org/docs/v0.4.9/api/crypto.html#hash.digest\n\thash: 'sha512', // any node.js hash type: http://nodejs.org/docs/v0.4.9/api/crypto.html#crypto.createHash\n\tcwd: '.' // current working directory, used to resolve file\n}\n\nmanyHashes(options, function(err, hashes) {\n\t/*\n\thashes = [\n\t\t{\n\t\t\toriginal: './file.ext',\n\t\t\tfullPath: '/tmp/folder/file.ext',\n\t\t\thash: 'ZOSB36hJrh/oflExNSTXa0YmdkJ9KXrOEtrukC5hwLx1FR0ySjPMbFB1RkcYB4aKlATOA+AgNl4Y/cvRZitsDg=='\n\t\t}\n\t]\n\t*/\n})\n```\n\n## license\n\nReleased under the [Very Open License (VOL)](http://veryopenlicense.com/).\n","maintainers":[{"name":"saibotsivad","email":"accounts@davistobias.com"}],"time":{"modified":"2022-06-19T15:50:22.160Z","created":"2014-12-16T02:33:20.990Z","0.1.0":"2014-12-16T02:33:22.479Z","0.2.0":"2014-12-16T02:41:26.494Z","0.2.1":"2014-12-16T02:42:42.747Z","0.3.1":"2014-12-19T03:28:11.515Z","0.4.1":"2014-12-19T03:54:21.135Z","0.4.2":"2016-08-05T00:48:00.717Z","0.4.3":"2016-08-05T00:53:25.157Z","0.5.0":"2020-08-17T17:35:46.339Z"},"readmeFilename":"README.md","keywords":["hash","file"],"repository":{"type":"git","url":"git+ssh://git@github.com/saibotsivad/many-file-hashes.git"},"author":{"name":"saibotsivad"},"bugs":{"url":"https://github.com/saibotsivad/many-file-hashes/issues"},"license":"VOL","homepage":"https://github.com/saibotsivad/many-file-hashes#readme"}