{"name":"md5-hex","version":"1.3.0","description":"Create a MD5 hash with hex encoding","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/md5-hex.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"browser":"browser.js","engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js","browser.js"],"keywords":["hash","crypto","md5","hex","buffer","browser","browserify"],"dependencies":{"md5-o-matic":"^0.1.1"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"273d9c659a29e4cd53512f526282afd5ac1c1413","bugs":{"url":"https://github.com/sindresorhus/md5-hex/issues"},"homepage":"https://github.com/sindresorhus/md5-hex#readme","_id":"md5-hex@1.3.0","_shasum":"d2c4afe983c4370662179b8cad145219135046c4","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"d2c4afe983c4370662179b8cad145219135046c4","tarball":"http://registry-npm.ywwl.com/md5-hex/download/md5-hex-1.3.0.tgz","integrity":"sha512-lJEPhRxivsaliY4C6REebtP1Lo8yoQsq2bLVP8mJ6Vvzwu3fXQShzHcWnAqdDm1Y42jhZFg0XRpnrKfZ5mYP6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDA8NliSiSVo9EcwXNcns1WV80ugJusz/RZq+cPpWf+YQIhAL8aBPVX9Kv81NDvpGu85NZeIdBmk+qqNXogN4PQp56p"}],"size":1977,"noattachment":false,"key":"/md5-hex/-/md5-hex-1.3.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/md5-hex-1.3.0.tgz_1460471196734_0.9732175024691969"},"directories":{},"readme":"# md5-hex\n\n> Create a MD5 hash with hex encoding\n\n*Please don't use MD5 hashes for anything sensitive!*\n\nWorks in the browser too, when used with a bundler (like Webpack, Rollup, Browserify).\n\nCheckout [`hasha`](https://github.com/sindresorhus/hasha) if you need something more flexible.\n\n## Install\n\n```sh\nnpm install md5-hex\n```\n\n## Usage\n\n```js\nimport fs from 'node:fs';\nimport md5Hex from 'md5-hex';\n\nconst buffer = fs.readFileSync('unicorn.png');\n\nmd5Hex(buffer);\n//=> '1abcb33beeb811dca15f0ac3e47b88d9'\n```\n\n## API\n\n### md5Hex(data)\n\n#### data\n\nType: `Buffer | string | Array<Buffer | string>`\n\nPrefer buffers as they're faster to hash, but strings can be useful for small things.\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## Related\n\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- [hasha](https://github.com/sindresorhus/hasha) - Hashing made simple\n- [hash-obj](https://github.com/sindresorhus/hash-obj) - Get the hash of an object\n","publish_time":1460471197187,"_cnpm_publish_time":1460471197187,"dist-tags":{"latest":"5.0.0"}}