{"name":"md5-file","main":"index.js","repository":{"type":"git","url":"git+https://github.com/roryrjb/md5-file.git"},"files":["index.js","test.js","LICENSE.md","README.md"],"version":"3.1.0","description":"return an md5sum of a given file","keywords":["md5","md5sum","checksum"],"author":{"name":"Rory Bradford","email":"roryrjb@gmail.com","url":"www.roryrjb.com"},"license":"MIT","scripts":{"test":"standard && mocha"},"devDependencies":{"mocha":"^2.4.5","standard":"^7.1.0"},"gitHead":"22dfa1df6e89e3be4e17d70834db31235b5454b7","bugs":{"url":"https://github.com/roryrjb/md5-file/issues"},"homepage":"https://github.com/roryrjb/md5-file#readme","_id":"md5-file@3.1.0","_shasum":"a1b082fca3ad4231d368800622425fb35c74dd53","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"a1b082fca3ad4231d368800622425fb35c74dd53","tarball":"http://registry-npm.ywwl.com/md5-file/download/md5-file-3.1.0.tgz","integrity":"sha512-FATE9+/3Zo0tNVglgiH2b5qJ9SvhcsNAyRc5nkpU8CkYPPVEWbH1CRO1zIHEQXrtZrTBDEGWSaAb05aFmuDC4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHNLaUaNqo7O99Pfo+5yPeEFW0H77WZ6hfZwpXmdjF65AiEA0QtBaAPLiryJQY3QWM1wloWQpEX0K0JyhE4TNXVbpLY="}],"size":2033,"noattachment":false,"key":"/md5-file/-/md5-file-3.1.0.tgz"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"},{"name":"roryrjb","email":"roryrjb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/md5-file-3.1.0.tgz_1463932285844_0.7138498357962817"},"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":1463932288214,"_cnpm_publish_time":1463932288214,"dist-tags":{"latest":"5.0.0"}}