{"name":"md5-file","main":"index.js","files":["index.js","test.js"],"version":"1.1.8","description":"return an md5sum of a given file","keywords":["md5","md5sum","checksum"],"homepage":"https://github.com/roryrjb/md5-file","author":{"name":"Rory Bradford","email":"roryrjb@gmail.com","url":"www.roryrjb.com"},"repository":{"type":"git","url":"https://github.com/roryrjb/md5-file.git"},"license":"MIT","bugs":{"url":"http://github.com/roryrjb/md5-file/issues","email":"roryrjb@gmail.com"},"scripts":{"test":"node test"},"gitHead":"a914ff8d8da533a6f85f3813911294522d3b31a4","_id":"md5-file@1.1.8","_shasum":"9ef11dc46c63663e4f1281053456661b91b548cb","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"roryrjb","email":"roryrjb@gmail.com"},"maintainers":[{"name":"roryrjb","email":"roryrjb@gmail.com"}],"dist":{"shasum":"9ef11dc46c63663e4f1281053456661b91b548cb","tarball":"http://registry-npm.ywwl.com/md5-file/download/md5-file-1.1.8.tgz","integrity":"sha512-KZ9LkDgoaH9o7n2UeHCmlEeucWzX+a7ANf1qNLhWC3HlYZpLlmYOnc40KFHNY+LI0hLuAYPtlNu35g1EtWORlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCF3jBvDjdgNIUDhb/ScE+op05L1akDy7Jd713KzmUQlwIgSqgkVH5Xyq733kKnDBZNNiGDVGmi8omblZdIlJktZMw="}],"size":1282,"noattachment":false,"key":"/md5-file/-/md5-file-1.1.8.tgz"},"directories":{},"readme":"# MD5 file\n\nGet the MD5-sum of a given file, with low memory usage, even on huge files.\n\n## Installation\n\n```sh\nnpm install --save md5-file\n```\n\n## Usage\n\n### As a module\n\n```js\nconst md5File = require('md5-file')\n\n/* Async usage */\nmd5File('LICENSE.md').then((hash) => {\n  console.log(`The MD5 sum of LICENSE.md is: ${hash}`)\n})\n\n/* Sync usage */\nconst hash = md5File.sync('LICENSE.md')\nconsole.log(`The MD5 sum of LICENSE.md is: ${hash}`)\n```\n\n### As a command line tool\n\n```sh\n$ md5-file LICENSE.md\nad1faf9381e43c471dc381c17a4ee4b6\n```\n\n## API\n\n### `md5File(path: string) => Promise<string>`\n\nAsynchronously get the MD5-sum of the file at `path`.\n\nReturns a [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) that will be resolved with a string containing the MD5-sum.\n\n### `md5File.sync(path: string) => string`\n\nSynchronously get the MD5-sum of the file at `path`.\n\n### License\n\nMIT\n","publish_time":1417868663239,"_cnpm_publish_time":1417868663239,"dist-tags":{"latest":"5.0.0"}}