{"_id":"xor-distance","_rev":"5-c5beb273e3518168bf6b28ebadca7d79","name":"xor-distance","description":"Calculate the distance between two buffers as a new buffer and compare computed distances with eachother","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"xor-distance","version":"1.0.0","description":"Calculate the distance between two buffers as a new buffer and compare computed distances with eachother","main":"index.js","dependencies":{},"devDependencies":{"tape":"^4.2.0"},"scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"https://github.com/mafintosh/xor-distance.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/xor-distance/issues"},"homepage":"https://github.com/mafintosh/xor-distance","gitHead":"1c4eb32bde8bca866978514273b6753ac3f802d4","_id":"xor-distance@1.0.0","_shasum":"da735d9b24fcca8dbcd9b374d16d2a01ee9541c6","_from":".","_npmVersion":"2.13.2","_nodeVersion":"2.5.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"da735d9b24fcca8dbcd9b374d16d2a01ee9541c6","tarball":"https://registry.npmjs.org/xor-distance/-/xor-distance-1.0.0.tgz","integrity":"sha512-xXtcMnwUur2+K7PMorBBVrIyjc5Smf2H8nFRw42l9KbXSqf4pnZqJNt6mTIQUdj7Xw7KfqKJRUqvag/yuZw9Fw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFpZyvo9Zs8B/Z4Xe2JnqEY2ZY9Bxh+sbT4XC7W8fidJAiAA4PdHCmyC6tnRczs9fvFhluZEKguDpicUWQzlJrFbhA=="}]},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"2.0.0":{"name":"xor-distance","version":"2.0.0","description":"Calculate the distance between two buffers as a new buffer and compare computed distances with eachother","main":"index.js","dependencies":{},"devDependencies":{"tape":"^4.2.0"},"scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/xor-distance.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/xor-distance/issues"},"homepage":"https://github.com/mafintosh/xor-distance","gitHead":"27919582f9939f0c4c940a836ad0a11bbca493aa","_id":"xor-distance@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"integrity":"sha512-AsAqZfPAuWx7qB/0kyRDUEvoU3QKsHWzHU9smFlkaiprEpGfJ/NBbLze2Uq0rdkxCxkNM9uOLvz/KoNBCbZiLQ==","shasum":"cad3920d3a1e3d73eeedc61a554e51972dae0798","tarball":"https://registry.npmjs.org/xor-distance/-/xor-distance-2.0.0.tgz","fileCount":7,"unpackedSize":4114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWBzXCRA9TVsSAnZWagAAKr4P/jwBp0ceLIdKykjYsMSo\nKYgnGj9gesHQGhcIcqzQ+IHIg4m7IDXo7f2HcZQMitOP0xMuzW8Rt46sdL6s\n5P+qPHbr8kOA9JBOzPLEltEVPBTFQilI8kCMXuRR68iHFe3Er8KqeTm+IvxC\nofYvYGs8EGwsuyMaCPKrP4NyGtT5nFwz0qRCVfj05xXgaJfRLayhVqP5+cyG\nz7w5/C2oztuS3qMpcYRv2INGTwMCKm0mD6V4g7EoDq0oBmjvU8ohFeqkMnUl\nz/MXN91C3iGdPZcYZPPM0xVXmK6cVsb1jPS0rbqkhkLOlWaIiVZh6Awwnhmf\nJ8QKL4tOUBNIheVTFah3tWnusBmh9DjuP4qAs1V6q9jpuRvtsQOyJOX5fGBF\nQ9EpbHKwv1W+gz3NIQT6umw7wRzdeLw5PW2JrDL7iQVCdC41lj2BuDSlfIcu\nniVIw87CHYKUCbaWO1PIM0ABxXLSx8B8OH9Pz6rKN5Qz5JdOS+Qv5RTzv/Jn\nPdtlHlU302bA11/J2fvhK5cmBmwPyxyQPE8kon/t5pcP2/J2c+6JfgYfnXxx\no3yrxSS5WsI0esEDGqb6Pn1rWE0+3FT7ZxOhbUuhtplt52jJ0evF8urb+YdB\nuwSrj6XVRWNfm/HtmKJ9JM2Hhdunz0hBzhVYefNsQ4dEO52568+02cBCioMc\nFtnX\r\n=7dly\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBIQtk/f0t4/vF8wc1ANTf2ncR0lQ/mgtrUvQgxIZMyhAiB7C7hpul3mrLJU7lQYoql6/g/NSXHdctn26Bhx7f6KTw=="}]},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xor-distance_2.0.0_1549278423238_0.8332723108065427"},"_hasShrinkwrap":false}},"readme":"# xor-distance\n\nCalculate the xor distance between two buffers as a new buffer and compare computed distances with eachother\n\n```\nnpm install xor-distance\n```\n\n[![build status](http://img.shields.io/travis/mafintosh/xor-distance.svg?style=flat)](http://travis-ci.org/mafintosh/xor-distance)\n\n## Usage\n\n``` js\nvar distance = require('./')\n\nvar dist1 = distance(new Buffer('foo'), new Buffer('bar'))\nvar dist2 = distance(new Buffer('foo'), new Buffer('baz'))\n\n// the following returns true since the distance between foo and bar\n// is greater than the distance between foo and baz\nconsole.log(distance.gt(dist1, dist2))\n```\n\n## License\n\nMIT\n","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"time":{"modified":"2022-06-29T05:50:12.662Z","created":"2015-09-27T16:20:04.601Z","1.0.0":"2015-09-27T16:20:04.601Z","2.0.0":"2019-02-04T11:07:03.320Z"},"homepage":"https://github.com/mafintosh/xor-distance","repository":{"type":"git","url":"git+https://github.com/mafintosh/xor-distance.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"bugs":{"url":"https://github.com/mafintosh/xor-distance/issues"},"license":"MIT","readmeFilename":"README.md"}