{"_id":"multikey-hash","_rev":"11-86d4fd232648cdb3682118210d609455","name":"multikey-hash","description":"Generates a hash based on function arguments","dist-tags":{"latest":"1.0.4"},"versions":{"0.0.1":{"name":"multikey-hash","version":"0.0.1","description":"Generates a hash based on function arguments","main":"multikey-hash.js","scripts":{"test":"mocha test/*-test.js --require test/config.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --ignore-leaks --require test/config  test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --ignore-leaks --require test/config test/"},"keywords":["hash","key","multikey"],"author":{"name":"Esco Obong"},"license":"ISC","devDependencies":{"chai":"^1.9.2","grunt":"^0.4.5","gulp":"^3.8.8","gulp-bench":"^1.1.0","gulp-coveralls":"^0.1.3","gulp-istanbul":"^0.3.1","gulp-jshint":"^1.8.5","gulp-mdox":"0.0.2","gulp-mocha":"^1.1.1","gulp-yuidoc":"^0.1.2","istanbul":"^0.3.2","jshint-stylish":"^1.0.0","mocha":"^1.21.4"},"dependencies":{"imurmurhash":"^0.1.4","tosource":"^0.1.2"},"_id":"multikey-hash@0.0.1","_shasum":"0f7a75593a3936fba091bbfac6617e011beecef4","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"esco","email":"asuquo.obong@nytimes.com"},"maintainers":[{"name":"esco","email":"asuquo.obong@nytimes.com"}],"dist":{"shasum":"0f7a75593a3936fba091bbfac6617e011beecef4","tarball":"https://registry.npmjs.org/multikey-hash/-/multikey-hash-0.0.1.tgz","integrity":"sha512-qgfN1W2prDMtSbyuBZa5Rs/WmLxp7YR1DL5/moHbOOFG+6KTB4y4m0YVLo3VwflklEkWluxCiOkKegPiZk+/rg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICDNpm4PFUZYPyjXfJJI53X+KPwjNmfglIk5ZwlOl+sgAiAJ3Syus7iAUMKixfWlhjZi/gUSA0t1f+w2NuSzawiEig=="}]}},"1.0.0":{"name":"multikey-hash","version":"1.0.0","description":"Generates a hash based on function arguments","main":"multikey-hash.js","repository":{"type":"git","url":"https://github.com/esco/multikey-hash.git"},"scripts":{"test":"mocha test/*-test.js --require test/config.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --ignore-leaks --require test/config  test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --ignore-leaks --require test/config test/"},"keywords":["hash","key","multikey"],"author":{"name":"Esco Obong"},"license":"ISC","devDependencies":{"chai":"^1.9.2","es6-collections":"^0.3.4","grunt":"^0.4.5","gulp":"^3.8.8","gulp-bench":"^1.1.0","gulp-coveralls":"^0.1.3","gulp-istanbul":"^0.3.1","gulp-jshint":"^1.8.5","gulp-mdox":"0.0.2","gulp-mocha":"^1.1.1","gulp-yuidoc":"^0.1.2","istanbul":"^0.3.2","jshint-stylish":"^1.0.0","mocha":"^1.21.4"},"dependencies":{"imurmurhash":"^0.1.4","simple-token":"0.0.2"},"bugs":{"url":"https://github.com/esco/multikey-hash/issues"},"homepage":"https://github.com/esco/multikey-hash","_id":"multikey-hash@1.0.0","_shasum":"c6c040073b7f67a6995db8267839220c3e1196b4","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"esco","email":"asuquo.obong@nytimes.com"},"maintainers":[{"name":"esco","email":"asuquo.obong@nytimes.com"}],"dist":{"shasum":"c6c040073b7f67a6995db8267839220c3e1196b4","tarball":"https://registry.npmjs.org/multikey-hash/-/multikey-hash-1.0.0.tgz","integrity":"sha512-6iDNu2CdN0ctQqeBUeyrsu9wt196MwcdDsvfTb38vWgf5AnxZSNayBmOD1QolP4UClBZWJBRJwStSlyI3d9WNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDt+6DMsyDo7Kp5FPOdwns89tfWqJwSqi5mTlJKg7pNAAiEAq1iFONcFCUGNt8DwUZQtdBbkZ5EmDQhGLkioNhAyOZY="}]}},"1.0.1":{"name":"multikey-hash","version":"1.0.1","description":"Generates a hash based on function arguments","main":"multikey-hash.js","repository":{"type":"git","url":"https://github.com/esco/multikey-hash.git"},"scripts":{"test":"mocha test/*-test.js --require test/config.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --ignore-leaks --require test/config  test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --ignore-leaks --require test/config test/"},"keywords":["hash","key","multikey"],"author":{"name":"Esco Obong"},"license":"ISC","devDependencies":{"chai":"^1.9.2","es6-collections":"^0.3.4","grunt":"^0.4.5","gulp":"^3.8.8","gulp-bench":"^1.1.0","gulp-coveralls":"^0.1.3","gulp-istanbul":"^0.3.1","gulp-jshint":"^1.8.5","gulp-mdox":"0.0.2","gulp-mocha":"^1.1.1","gulp-yuidoc":"^0.1.2","istanbul":"^0.3.2","jshint-stylish":"^1.0.0","mocha":"^1.21.4"},"dependencies":{"imurmurhash":"^0.1.4","simple-token":"^0.1.0"},"bugs":{"url":"https://github.com/esco/multikey-hash/issues"},"homepage":"https://github.com/esco/multikey-hash","_id":"multikey-hash@1.0.1","_shasum":"c37607557a4cb1a5f3214e766d63f3c0810d9ceb","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"esco","email":"asuquo.obong@nytimes.com"},"maintainers":[{"name":"esco","email":"asuquo.obong@nytimes.com"}],"dist":{"shasum":"c37607557a4cb1a5f3214e766d63f3c0810d9ceb","tarball":"https://registry.npmjs.org/multikey-hash/-/multikey-hash-1.0.1.tgz","integrity":"sha512-3MP9pdTfN//H0Mzc2enKDsXWSbU0FOgiXZ+fRK3DPxcv4yWqrw4PqurA5gGphZacIkxf6k7KoKX6QlZQLKBn4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYlJxndkKqqDjk8P9gD6ml0X3v7pZVpPsY2692h1uWowIgIo8VXfqoHHYMk4oVLJ39pnFXRcxweWjzzjE71cm4UgM="}]}},"1.0.3":{"name":"multikey-hash","version":"1.0.3","description":"Generates a hash based on function arguments","main":"multikey-hash.js","repository":{"type":"git","url":"https://github.com/esco/multikey-hash.git"},"scripts":{"test":"mocha test/*-test.js --require test/config.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --ignore-leaks --require test/config  test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --ignore-leaks --require test/config test/"},"keywords":["hash","key","multikey"],"author":{"name":"Esco Obong"},"license":"ISC","devDependencies":{"chai":"^1.9.2","es6-collections":"^0.3.4","grunt":"^0.4.5","gulp":"^3.8.8","gulp-bench":"^1.1.0","gulp-coveralls":"^0.1.3","gulp-istanbul":"^0.3.1","gulp-jshint":"^1.8.5","gulp-mdox":"0.0.2","gulp-mocha":"^1.1.1","gulp-yuidoc":"^0.1.2","istanbul":"^0.3.2","jshint-stylish":"^1.0.0","mocha":"^1.21.4"},"dependencies":{"imurmurhash":"^0.1.4","simple-token":"^0.1.0"},"gitHead":"f137d64b0328ddfb53e37edcc75b38c1147387d4","bugs":{"url":"https://github.com/esco/multikey-hash/issues"},"homepage":"https://github.com/esco/multikey-hash","_id":"multikey-hash@1.0.3","_shasum":"71aa1f661e0761acf6da38a650523e9a3030aa6d","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.35","_npmUser":{"name":"esco","email":"menzoic@gmail.com"},"dist":{"shasum":"71aa1f661e0761acf6da38a650523e9a3030aa6d","tarball":"https://registry.npmjs.org/multikey-hash/-/multikey-hash-1.0.3.tgz","integrity":"sha512-4vlE+AL2QFdHlmjN7ATHDoQMrB5suxh6LmJZMMG8QY3XO0AZsEgQAF45jOhnSw2voxld4T6LdR9aErNDjvpYsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+YmroPmiabd+4vadroguZggI2A7xAVt9b7qvfUspWOAIgDOrklx0+/VBT+hXMAt98bjv2IpRQrVgDVnoi6LY5vpk="}]},"maintainers":[{"name":"esco","email":"asuquo.obong@nytimes.com"}]},"1.0.4":{"name":"multikey-hash","version":"1.0.4","description":"Generates a hash based on function arguments","main":"multikey-hash.js","repository":{"type":"git","url":"https://github.com/esco/multikey-hash.git"},"scripts":{"test":"mocha test/*-test.js --require test/config.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --ignore-leaks --require test/config  test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --ignore-leaks --require test/config test/"},"keywords":["hash","key","multikey"],"author":{"name":"Esco Obong"},"license":"ISC","devDependencies":{"chai":"^1.9.2","es6-collections":"^0.3.4","grunt":"^0.4.5","gulp":"^3.8.8","gulp-bench":"^1.1.0","gulp-coveralls":"^0.1.3","gulp-istanbul":"^0.3.1","gulp-jshint":"^1.8.5","gulp-mdox":"0.0.2","gulp-mocha":"^1.1.1","gulp-yuidoc":"^0.1.2","istanbul":"^0.3.2","jshint-stylish":"^1.0.0","mocha":"^1.21.4"},"dependencies":{"imurmurhash":"^0.1.4","simple-token":"^0.1.0"},"gitHead":"f721dec3bc1ea5aca4bdeecaf85d1df22d9c5bc0","bugs":{"url":"https://github.com/esco/multikey-hash/issues"},"homepage":"https://github.com/esco/multikey-hash","_id":"multikey-hash@1.0.4","_shasum":"f062fd512deb57d1a6f376cb74dbb50671d4fcc3","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.35","_npmUser":{"name":"esco","email":"menzoic@gmail.com"},"dist":{"shasum":"f062fd512deb57d1a6f376cb74dbb50671d4fcc3","tarball":"https://registry.npmjs.org/multikey-hash/-/multikey-hash-1.0.4.tgz","integrity":"sha512-O7xwbDU14oHLG91WGxX86vRIl7EJ2oVm7Xw4jysXZAKnw5rnqYzgqn4JtskeA5mZ4X4TEpmR7dVzrwnPitsjvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAXxJ5hlEuDU2mrJAiBEE/wsK7QGXBXHOZ/Mlc8cs7MgIhAN2qRNuVJn7PkPsoDcSW2z1LR0yEumNjGNfJW3GrUayC"}]},"maintainers":[{"name":"esco","email":"asuquo.obong@nytimes.com"}]}},"readme":"multikey-hash\n=============\n[![Build Status](https://travis-ci.org/esco/multikey-hash.svg?branch=master)](https://travis-ci.org/esco/multikey-hash) [![Coverage Status](https://coveralls.io/repos/esco/multikey-hash/badge.png)](https://coveralls.io/r/esco/multikey-hash) [![Code Climate](https://codeclimate.com/github/esco/multikey-hash/badges/gpa.svg)](https://codeclimate.com/github/esco/multikey-hash)\n\nhash together multiple objects of any type*\n\n>Arguments are serialized and then hashed together using the [MurmurHash3](http://en.wikipedia.org/wiki/MurmurHash) algorithm for efficient memory usage (small sized hashes), speed and random distribution.\n\nIf you're looking for a full hashmap implementation check out dependent module [superhash](http://github.com/esco/superhash)\n\n# Installation\n```\n$ npm install multikey-hash\n```\n\n## Example\n\n```js\nvar mkhash = require('multikey-hash');\nmkhash(5, 'afuh08h3sfasfs40n340unfe0ruhn0unerf0u', function test(){console.log(test);});\n// 3717699652 <-- generated hash\n```\n\n## Caveat\n\nAny non primitive keys are **tokenized**, not serialized. This is done for great speed and space efficiencies. Aside from the performance benefits, this also means that the generated hash is only useful within the same process. Any hash generated in one process will not be consistent with a hash generated by the same non-primitive keys in another process. In other words: **don't persist the hash for later use.**\n\n## FAQ\n\n### What types of keys can be used?\n\nAny primitive or mutable object can be used as a key.","maintainers":[{"name":"esco","email":"asuquo.obong@nytimes.com"}],"time":{"modified":"2022-06-20T13:40:23.412Z","created":"2014-10-09T12:42:45.742Z","0.0.1":"2014-10-09T12:42:45.742Z","1.0.0":"2014-11-04T14:55:25.740Z","1.0.1":"2014-11-04T18:01:48.291Z","1.0.3":"2015-05-17T15:42:31.281Z","1.0.4":"2015-05-18T00:45:35.824Z"},"keywords":["hash","key","multikey"],"author":{"name":"Esco Obong"},"license":"ISC","readmeFilename":"README.md","homepage":"https://github.com/esco/multikey-hash","repository":{"type":"git","url":"https://github.com/esco/multikey-hash.git"},"bugs":{"url":"https://github.com/esco/multikey-hash/issues"},"users":{"julien-f":true}}