{"_id":"hash-file","_rev":"252101","name":"hash-file","description":"Create a hashed file name","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"kevva","email":""}],"time":{"modified":"2021-06-03T16:15:22.000Z","created":"2014-01-17T08:20:09.174Z","3.0.0":"2016-04-11T15:27:51.340Z","2.1.0":"2015-05-23T13:50:28.247Z","2.0.0":"2015-05-04T20:37:29.338Z","1.0.0":"2015-02-21T10:23:58.364Z","0.1.0":"2014-01-17T08:20:09.174Z"},"users":{"rethinkflash":true,"rocket0191":true},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"repository":{"type":"git","url":"git+https://github.com/kevva/hash-file.git"},"versions":{"3.0.0":{"name":"hash-file","version":"3.0.0","description":"Create a hashed file name","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/hash-file.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["file","hash","name","crypto"],"dependencies":{"hasha":"^2.2.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"2c90d2aebcb14f9e5104d8808c014184d95535f3","bugs":{"url":"https://github.com/kevva/hash-file/issues"},"homepage":"https://github.com/kevva/hash-file#readme","_id":"hash-file@3.0.0","_shasum":"da2441652169c603aab46b0cccf53c0db77696f3","_from":".","_npmVersion":"3.7.0","_nodeVersion":"5.10.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"da2441652169c603aab46b0cccf53c0db77696f3","size":1543,"noattachment":false,"key":"/hash-file/-/hash-file-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-file/download/hash-file-3.0.0.tgz"},"maintainers":[{"name":"kevva","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hash-file-3.0.0.tgz_1460388468947_0.4194449607748538"},"directories":{},"publish_time":1460388471340,"_cnpm_publish_time":1460388471340,"_hasShrinkwrap":false},"2.1.0":{"name":"hash-file","version":"2.1.0","description":"Create a hashed file name","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/hash-file.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test/test.js"},"files":["index.js"],"keywords":["file","hash","name","crypto"],"dependencies":{"hasha":"^1.0.0"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"392fea6b0496dbe8790a094f5cc16f90a7e0f04e","bugs":{"url":"https://github.com/kevva/hash-file/issues"},"homepage":"https://github.com/kevva/hash-file#readme","_id":"hash-file@2.1.0","_shasum":"4fba5a45e8e4a59b8e9caea068749cf8dfb92f5a","_from":".","_npmVersion":"2.10.0","_nodeVersion":"2.0.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"4fba5a45e8e4a59b8e9caea068749cf8dfb92f5a","size":1550,"noattachment":false,"key":"/hash-file/-/hash-file-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-file/download/hash-file-2.1.0.tgz"},"directories":{},"publish_time":1432389028247,"_cnpm_publish_time":1432389028247,"_hasShrinkwrap":false},"2.0.0":{"name":"hash-file","version":"2.0.0","description":"Create a hashed file name","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/hash-file.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test/test.js"},"files":["index.js"],"keywords":["file","hash","name"],"devDependencies":{"ava":"^0.0.4"},"gitHead":"6c78f46536eae141d80910095fd8016bfd5d0bfd","bugs":{"url":"https://github.com/kevva/hash-file/issues"},"homepage":"https://github.com/kevva/hash-file#readme","_id":"hash-file@2.0.0","_shasum":"95a7438063e413d779da606c1aa9eb9f654b3dd0","_from":".","_npmVersion":"2.9.0","_nodeVersion":"1.8.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"95a7438063e413d779da606c1aa9eb9f654b3dd0","size":1605,"noattachment":false,"key":"/hash-file/-/hash-file-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-file/download/hash-file-2.0.0.tgz"},"directories":{},"publish_time":1430771849338,"_cnpm_publish_time":1430771849338,"_hasShrinkwrap":false},"1.0.0":{"name":"hash-file","version":"1.0.0","description":"Create a hashed file name","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/hash-file"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test/test.js"},"files":["index.js"],"keywords":["file","hash","name"],"devDependencies":{"ava":"^0.0.4"},"gitHead":"2fdb23319a7aea06f6833b0f8f7b1a2d97f17910","bugs":{"url":"https://github.com/kevva/hash-file/issues"},"homepage":"https://github.com/kevva/hash-file","_id":"hash-file@1.0.0","_shasum":"c39832dc26b2c29860685edef0a1b88f5e7b8d26","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"c39832dc26b2c29860685edef0a1b88f5e7b8d26","size":1500,"noattachment":false,"key":"/hash-file/-/hash-file-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-file/download/hash-file-1.0.0.tgz"},"directories":{},"publish_time":1424514238364,"_cnpm_publish_time":1424514238364,"_hasShrinkwrap":false},"0.1.0":{"name":"hash-file","version":"0.1.0","description":"Create a hashed file name","keywords":["file","hash","name"],"homepage":"https://github.com/kevva/hash-file","bugs":{"url":"https://github.com/kevva/hash-file/issues"},"author":{"name":"Kevin Martensson","email":"kevinmartensson@gmail.com","url":"http://kevinmartensson.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/kevva/hash-file.git"},"scripts":{"test":"mocha --reporter list"},"main":"index.js","files":["index.js"],"devDependencies":{"mocha":"~1.17.0"},"engines":{"node":">=0.10.0"},"_id":"hash-file@0.1.0","dist":{"shasum":"b7c7ff72d722f75baa1e40f5e7f26a24b774f57e","size":928,"noattachment":false,"key":"/hash-file/-/hash-file-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-file/download/hash-file-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"directories":{},"publish_time":1389946809174,"_cnpm_publish_time":1389946809174,"_hasShrinkwrap":false}},"readme":"# hash-file [![Build Status](https://travis-ci.org/kevva/hash-file.svg?branch=master)](https://travis-ci.org/kevva/hash-file)\n\n> Create a hashed file name\n\n\n## Install\n\n```\n$ npm install --save hash-file\n```\n\n\n## Usage\n\n```js\nconst hashFile = require('hash-file');\n\nhashFile('test.jpg').then(hash => {\n\tconsole.log(hash);\n\t//=> 'ac8b2c4b75b2d36988c62b919a857f1baacfcd4c'\n});\n\nhashFile.sync('test.jpg');\n//=> 'ac8b2c4b75b2d36988c62b919a857f1baacfcd4c'\n```\n\n\n## License\n\nMIT © [Kevin Mårtensson](http://kevinmartensson.com)\n","_attachments":{},"homepage":"https://github.com/kevva/hash-file#readme","bugs":{"url":"https://github.com/kevva/hash-file/issues"},"license":"MIT"}