{"_id":"pretty-hash","_rev":"480871","name":"pretty-hash","description":"Output binary buffers as a nice shortened hex string","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"time":{"modified":"2021-08-05T09:35:45.000Z","created":"2016-11-17T20:29:26.682Z","1.0.1":"2016-11-22T17:58:24.634Z","1.0.0":"2016-11-17T20:29:26.682Z"},"users":{},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/pfrazee/pretty-hash.git"},"versions":{"1.0.1":{"name":"pretty-hash","version":"1.0.1","description":"Output binary buffers as a nice shortened hex string","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/pfrazee/pretty-hash.git"},"keywords":["buffer","hex","hash"],"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/pfrazee/pretty-hash/issues"},"homepage":"https://github.com/pfrazee/pretty-hash#readme","gitHead":"49e3676390650619abcd0a7acc9fe24226085bd2","_id":"pretty-hash@1.0.1","_shasum":"16e0579188def56bdb565892bcd05a5d65324807","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"dist":{"shasum":"16e0579188def56bdb565892bcd05a5d65324807","size":742,"noattachment":false,"key":"/pretty-hash/-/pretty-hash-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-hash/download/pretty-hash-1.0.1.tgz"},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/pretty-hash-1.0.1.tgz_1479837504058_0.603097238112241"},"directories":{},"publish_time":1479837504634,"_cnpm_publish_time":1479837504634,"_hasShrinkwrap":false},"1.0.0":{"name":"pretty-hash","version":"1.0.0","description":"Output binary buffers as a nice shortened hex string","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/pfrazee/pretty-hash.git"},"keywords":["buffer","hex","hash"],"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/pfrazee/pretty-hash/issues"},"homepage":"https://github.com/pfrazee/pretty-hash#readme","gitHead":"1b042e3355bc1d48fd49406cb7f5d5ac780579ec","_id":"pretty-hash@1.0.0","_shasum":"5bd95ff6711d820d16962a177796db6f7e266664","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"dist":{"shasum":"5bd95ff6711d820d16962a177796db6f7e266664","size":727,"noattachment":false,"key":"/pretty-hash/-/pretty-hash-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-hash/download/pretty-hash-1.0.0.tgz"},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/pretty-hash-1.0.0.tgz_1479414564672_0.2940411404706538"},"publish_time":1479414566682,"_cnpm_publish_time":1479414566682,"_hasShrinkwrap":false}},"readme":"# pretty-hash\n\nOutput binary buffers as a nice shortened hex string\n\n```js\nvar prettyHash = require('pretty-hash')\nvar crypto = require('crypto')\n\nprettyHash(crypto.randomBytes(32)) // => '0b0a97..f3'\nprettyHash(crypto.randomBytes(16)) // => '0b0395..8a'\nprettyHash(crypto.randomBytes(4)) // => '49ab09ed'\nprettyHash(crypto.randomBytes(1)) // => 'f8'\nprettyHash('not a hash') // => 'not a hash'\n```","_attachments":{},"homepage":"https://github.com/pfrazee/pretty-hash#readme","bugs":{"url":"https://github.com/pfrazee/pretty-hash/issues"},"license":"MIT"}