{"versions":{"1.1.0":{"name":"cluster-key-slot","version":"1.1.0","description":"Generates CRC hashes for strings - for use by node redis clients to determine key slots.","main":"lib/index.js","scripts":{"benchmark":"node ./benchmark","posttest":"eslint ./lib && npm run coveralls","coveralls":"cat ./coverage/lcov.info | coveralls","test":"node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec","coverage:check":"node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"},"repository":{"type":"git","url":"git+https://github.com/Salakar/cluster-key-slot.git"},"keywords":["redis","hash","crc","slot","calc","javascript","node","node_redis","ioredis"],"engines":{"node":">=0.10.0"},"devDependencies":{"benchmark":"^2.1.0","codeclimate-test-reporter":"^0.3.1","coveralls":"^2.11.9","eslint":"^3.5.0","eslint-config-airbnb-base":"^7.1.0","eslint-plugin-import":"^1.8.0","istanbul":"^0.4.0","mocha":"^3.0.2"},"author":{"name":"Mike Diarmid","email":"mike.diarmid@gmail.com","url":"http://github.com/Salakar/"},"license":"APACHE-2.0","bugs":{"url":"https://github.com/Salakar/cluster-key-slot/issues"},"homepage":"https://github.com/Salakar/cluster-key-slot#readme","directories":{"test":"test","lib":"lib"},"gitHead":"579d4a5f11cd3f63092286474a993350d6c7ca6d","_id":"cluster-key-slot@1.1.0","_nodeVersion":"10.15.3","_npmVersion":"6.10.0","dist":{"shasum":"30474b2a981fb12172695833052bc0d01336d10d","size":5134,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cluster-key-slot/-/cluster-key-slot-1.1.0.tgz","integrity":"sha512-2Nii8p3RwAPiFwsnZvukotvow2rIHM+yQ6ZcBXGHdniadkYGZYiGmkHJIbZPIV9nfv7m/U1IPMVVcAhoWFeklw=="},"maintainers":[{"name":"anonymous","email":"mike.diarmid@gmail.com"}],"_npmUser":{"name":"anonymous","email":"mike.diarmid@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cluster-key-slot_1.1.0_1563442357516_0.9785298295875511"},"_hasShrinkwrap":false,"publish_time":1563442357646,"_cnpm_publish_time":1563442357646,"_cnpmcore_publish_time":"2021-12-13T12:29:49.853Z","contributors":[]},"1.0.12":{"name":"cluster-key-slot","version":"1.0.12","description":"Generates CRC hashes for strings - for use by node redis clients to determine key slots.","main":"lib/index.js","scripts":{"benchmark":"node ./benchmark","posttest":"eslint ./lib && npm run coveralls","coveralls":"cat ./coverage/lcov.info | coveralls","test":"node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec","coverage:check":"node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"},"repository":{"type":"git","url":"git+https://github.com/Salakar/cluster-key-slot.git"},"keywords":["redis","hash","crc","slot","calc","javascript","node","node_redis","ioredis"],"engines":{"node":">=0.10.0"},"devDependencies":{"benchmark":"^2.1.0","codeclimate-test-reporter":"^0.3.1","coveralls":"^2.11.9","eslint":"^3.5.0","eslint-config-airbnb-base":"^7.1.0","eslint-plugin-import":"^1.8.0","istanbul":"^0.4.0","mocha":"^3.0.2"},"author":{"name":"Mike Diarmid","email":"mike.diarmid@gmail.com","url":"http://github.com/Salakar/"},"license":"APACHE-2.0","bugs":{"url":"https://github.com/Salakar/cluster-key-slot/issues"},"homepage":"https://github.com/Salakar/cluster-key-slot#readme","directories":{"test":"test","lib":"lib"},"gitHead":"bb8a717c72f808f6a8e135632946feb241763dd8","_id":"cluster-key-slot@1.0.12","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"anonymous","email":"mike.diarmid@gmail.com"},"dist":{"shasum":"d5deff2a520717bc98313979b687309b2d368e29","size":5048,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cluster-key-slot/-/cluster-key-slot-1.0.12.tgz","integrity":"sha512-21O0kGmvED5OJ7ZTdqQ5lQQ+sjuez33R+d35jZKLwqUb5mqcPHUsxOSzj61+LHVtxGZd1kShbQM3MjB/gBJkVg=="},"maintainers":[{"name":"anonymous","email":"mike.diarmid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cluster-key-slot_1.0.12_1527205449969_0.9644974274542242"},"_hasShrinkwrap":false,"publish_time":1527205450043,"_cnpm_publish_time":1527205450043,"_cnpmcore_publish_time":"2021-12-13T12:29:50.151Z","contributors":[]},"1.0.11":{"name":"cluster-key-slot","version":"1.0.11","description":"Generates CRC hashes for strings - for use by node redis clients to determine key slots.","main":"lib/index.js","scripts":{"benchmark":"node ./benchmark","posttest":"eslint ./lib && npm run coveralls","coveralls":"cat ./coverage/lcov.info | coveralls","test":"node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec","coverage:check":"node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"},"repository":{"type":"git","url":"git+https://github.com/Salakar/cluster-key-slot.git"},"keywords":["redis","hash","crc","slot","calc","javascript","node","node_redis","ioredis"],"engines":{"node":">=0.10.0"},"devDependencies":{"benchmark":"^2.1.0","codeclimate-test-reporter":"^0.3.1","coveralls":"^2.11.9","eslint":"^3.5.0","eslint-config-airbnb-base":"^7.1.0","eslint-plugin-import":"^1.8.0","istanbul":"^0.4.0","mocha":"^3.0.2"},"author":{"name":"Mike Diarmid","email":"mike.diarmid@gmail.com","url":"http://github.com/Salakar/"},"license":"APACHE-2.0","bugs":{"url":"https://github.com/Salakar/cluster-key-slot/issues"},"homepage":"https://github.com/Salakar/cluster-key-slot#readme","directories":{"test":"test","lib":"lib"},"gitHead":"6ce06613ecc7b76128242eecca7a11995127b346","_id":"cluster-key-slot@1.0.11","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"anonymous","email":"mike.diarmid@gmail.com"},"dist":{"shasum":"ae7b38b0c8a6800bf6529b8a4551d1b91aaa981b","size":4969,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cluster-key-slot/-/cluster-key-slot-1.0.11.tgz","integrity":"sha512-R7foZ7RBuTxAtAeEYfZApTC97FFklydB8YBXBB6rtM8AS4crKYBNPeAyLjHnOcWz18B5bUmFO5mFXBO2GtbTcQ=="},"maintainers":[{"name":"anonymous","email":"mike.diarmid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cluster-key-slot_1.0.11_1527204481680_0.48358901450459335"},"_hasShrinkwrap":false,"publish_time":1527204481833,"_cnpm_publish_time":1527204481833,"_cnpmcore_publish_time":"2021-12-13T12:29:50.491Z","contributors":[]},"1.0.10":{"name":"cluster-key-slot","version":"1.0.10","description":"Generates CRC hashes for strings - for use by node redis clients to determine key slots.","main":"lib/index.js","scripts":{"benchmark":"node ./benchmark","posttest":"eslint ./lib && npm run coveralls","coveralls":"cat ./coverage/lcov.info | coveralls","test":"node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec","coverage:check":"node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"},"repository":{"type":"git","url":"git+https://github.com/Salakar/cluster-key-slot.git"},"keywords":["redis","hash","crc","slot","calc","javascript","node","node_redis","ioredis"],"engines":{"node":">=0.10.0"},"devDependencies":{"benchmark":"^2.1.0","codeclimate-test-reporter":"^0.3.1","coveralls":"^2.11.9","eslint":"^3.5.0","eslint-config-airbnb-base":"^7.1.0","eslint-plugin-import":"^1.8.0","istanbul":"^0.4.0","mocha":"^3.0.2"},"author":{"name":"Mike Diarmid","email":"mike.diarmid@gmail.com","url":"http://github.com/Salakar/"},"license":"APACHE-2.0","bugs":{"url":"https://github.com/Salakar/cluster-key-slot/issues"},"homepage":"https://github.com/Salakar/cluster-key-slot#readme","directories":{"test":"test","lib":"lib"},"gitHead":"eb4d6fcf0f3d5e246f7e530ce8179c1d4552e434","_id":"cluster-key-slot@1.0.10","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"anonymous","email":"mike.diarmid@gmail.com"},"dist":{"shasum":"1ae87883def12adbe1c3b1cccfbca9ac83d1ca1b","size":4975,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cluster-key-slot/-/cluster-key-slot-1.0.10.tgz","integrity":"sha512-0PkVMJUxo7veZi8xwUHR1nSUl48iETYhSCLk5Jpf9j9dMSkukqTLoAnXzBx9L2/ljuNwFuYHb8P1U75TmKuq1g=="},"maintainers":[{"name":"anonymous","email":"mike.diarmid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cluster-key-slot_1.0.10_1527203044676_0.20752246577211952"},"_hasShrinkwrap":false,"publish_time":1527203044740,"_cnpm_publish_time":1527203044740,"_cnpmcore_publish_time":"2021-12-13T12:29:50.759Z","contributors":[]},"1.0.9":{"name":"cluster-key-slot","version":"1.0.9","description":"Generates CRC hashes for strings - for use by node redis clients to determine key slots.","main":"lib/index.js","scripts":{"benchmark":"node ./benchmark","posttest":"eslint ./lib && npm run coveralls","coveralls":"cat ./coverage/lcov.info | coveralls","test":"node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec","coverage:check":"node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"},"repository":{"type":"git","url":"git+https://github.com/invertase/cluster-key-slot.git"},"keywords":["redis","hash","crc","slot","calc","javascript","node","node_redis","ioredis"],"engines":{"node":">=0.10.0"},"devDependencies":{"benchmark":"^2.1.0","codeclimate-test-reporter":"^0.3.1","coveralls":"^2.11.9","eslint":"^3.5.0","eslint-config-airbnb-base":"^7.1.0","eslint-plugin-import":"^1.8.0","istanbul":"^0.4.0","mocha":"^3.0.2"},"author":{"name":"Mike Diarmid"},"license":"MIT","bugs":{"url":"https://github.com/invertase/cluster-key-slot/issues"},"homepage":"https://github.com/invertase/cluster-key-slot#readme","directories":{"test":"test","lib":"lib"},"gitHead":"fa74971782e59af0eb77e6e42af04edea85a88e7","_id":"cluster-key-slot@1.0.9","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"anonymous","email":"mike.diarmid@gmail.com"},"dist":{"shasum":"a538b001da90157efe6f758ae9ddde2ecd9a3077","size":5233,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cluster-key-slot/-/cluster-key-slot-1.0.9.tgz","integrity":"sha512-NHiq3CUXSvG7rhGaUt3/urwIl1kk8jcrW18p0oogi1noGAahjFpCE/jDvQH27/z9SWnRaodgiHnZYmbMGDcKuA=="},"maintainers":[{"name":"anonymous","email":"mike.diarmid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cluster-key-slot_1.0.9_1524667839130_0.7161850124961289"},"_hasShrinkwrap":false,"publish_time":1524667839214,"_cnpm_publish_time":1524667839214,"_cnpmcore_publish_time":"2021-12-13T12:29:51.086Z","contributors":[]},"1.0.8":{"name":"cluster-key-slot","version":"1.0.8","description":"Generates CRC hashes for strings - for use by node redis clients to determine key slots.","main":"lib/index.js","scripts":{"benchmark":"node ./benchmark","posttest":"eslint lib && npm run coveralls","coveralls":"cat ./coverage/lcov.info | coveralls","test":"node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec","coverage:check":"node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"},"repository":{"type":"git","url":"git+https://github.com/Salakar/cluster-key-slot.git"},"keywords":["redis","hash","crc","slot","calc","javascript","node","node_redis","ioredis"],"engines":{"node":">=0.10.0"},"devDependencies":{"benchmark":"^2.1.0","codeclimate-test-reporter":"^0.3.1","coveralls":"^2.11.9","eslint":"^3.5.0","eslint-config-airbnb-base":"^7.1.0","eslint-plugin-import":"^1.8.0","istanbul":"^0.4.0","mocha":"^3.0.2"},"author":{"name":"Mike Diarmid"},"license":"MIT","bugs":{"url":"https://github.com/Salakar/cluster-key-slot/issues"},"homepage":"https://github.com/Salakar/cluster-key-slot#readme","directories":{"test":"test","lib":"lib"},"gitHead":"c0cf7c6e22015d619c7a6dc73c33e1d601ece7af","_id":"cluster-key-slot@1.0.8","_shasum":"7654556085a65330932a2e8b5976f8e2d0b3e414","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"anonymous","email":"mike.diarmid@gmail.com"},"dist":{"shasum":"7654556085a65330932a2e8b5976f8e2d0b3e414","size":5315,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cluster-key-slot/-/cluster-key-slot-1.0.8.tgz","integrity":"sha512-OF/xJE08NvIL6Fbi8XZpAlt6p55mE7SXyBWXMp9TNo4s4XnRO6kIQ8JLwQ77luFXpoB+G9zi/Ks8OWHBg0vvVg=="},"maintainers":[{"name":"anonymous","email":"mike.diarmid@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cluster-key-slot-1.0.8.tgz_1473937183819_0.1705012416932732"},"publish_time":1473937185062,"_hasShrinkwrap":false,"_cnpm_publish_time":1473937185062,"_cnpmcore_publish_time":"2021-12-13T12:29:51.435Z","contributors":[]},"1.0.6":{"name":"cluster-key-slot","version":"1.0.6","description":"Generates CRC hashes for strings - for use by node redis clients to determine key slots.","main":"lib/index.js","scripts":{"benchmark":"node ./benchmark","posttest":"eslint lib && npm run coveralls","coveralls":"cat ./coverage/lcov.info | coveralls","test":"node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec","coverage:check":"node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/cluster-key-slot.git"},"keywords":["redis","hash","crc","slot","calc","javascript","node","node_redis","ioredis"],"engines":{"node":">=0.10.0"},"devDependencies":{"benchmark":"^2.1.0","codeclimate-test-reporter":"^0.3.1","coveralls":"^2.11.9","eslint":"^2.10.2","eslint-config-airbnb-base":"^3.0.1","eslint-plugin-import":"^1.8.0","istanbul":"^0.4.0","mocha":"^2.3.2"},"author":{"name":"Mike Diarmid"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/cluster-key-slot/issues"},"homepage":"https://github.com/NodeRedis/cluster-key-slot#readme","directories":{"test":"test","lib":"lib"},"gitHead":"588c35eac1be335dc34fc41eb56f858ec8d3061f","_id":"cluster-key-slot@1.0.6","_shasum":"118c1bac7f42aca495d114211dfbd2b45f6cf506","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"anonymous","email":"mike.diarmid@gmail.com"},"dist":{"shasum":"118c1bac7f42aca495d114211dfbd2b45f6cf506","size":5238,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cluster-key-slot/-/cluster-key-slot-1.0.6.tgz","integrity":"sha512-YzPJka12sd03MdaUX1eGZiTijiH6oxxP8CglwfLbJYxCsRAC+B1n/ITh+sEwullxFunuPgkhyrEmxKvwmqlNwA=="},"maintainers":[{"name":"anonymous","email":"mike.diarmid@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cluster-key-slot-1.0.6.tgz_1466696857316_0.25499423407018185"},"publish_time":1466696859503,"_hasShrinkwrap":false,"_cnpm_publish_time":1466696859503,"_cnpmcore_publish_time":"2021-12-13T12:29:51.804Z","contributors":[]},"1.0.5":{"name":"cluster-key-slot","version":"1.0.5","description":"Generates CRC hashes for strings - for use by node redis clients to determine key slots.","main":"lib/index.js","scripts":{"benchmark":"node ./benchmark","posttest":"eslint lib && npm run coveralls","coveralls":"cat ./coverage/lcov.info | coveralls","test":"node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec","coverage:check":"node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/cluster-key-slot.git"},"keywords":["redis","hash","crc","slot","calc","javascript","node","node_redis","ioredis"],"engines":{"node":">=0.10.0"},"devDependencies":{"benchmark":"^2.1.0","codeclimate-test-reporter":"^0.3.1","coveralls":"^2.11.9","eslint":"^2.10.2","eslint-config-airbnb-base":"^3.0.1","eslint-plugin-import":"^1.8.0","istanbul":"^0.4.0","mocha":"^2.3.2"},"author":{"name":"Mike Diarmid"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/cluster-key-slot/issues"},"homepage":"https://github.com/NodeRedis/cluster-key-slot#readme","directories":{"test":"test","lib":"lib"},"gitHead":"a66901c8229f60fd68c7121e67c1690b10c6f409","_id":"cluster-key-slot@1.0.5","_shasum":"55df9b14d2fbb9801c379780e9b7e32bdbb901e5","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"anonymous","email":"mike.diarmid@gmail.com"},"dist":{"shasum":"55df9b14d2fbb9801c379780e9b7e32bdbb901e5","size":5007,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cluster-key-slot/-/cluster-key-slot-1.0.5.tgz","integrity":"sha512-PojXFpRg2XdEkPpYSo6W8zMHqfiS4eDB43arlg99sxQxosetwrgwVpOmJa8bOM4FqamZ+bMuYbXNbTPcMWyMlw=="},"maintainers":[{"name":"anonymous","email":"mike.diarmid@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cluster-key-slot-1.0.5.tgz_1465132555408_0.8325273487716913"},"publish_time":1465132557869,"_hasShrinkwrap":false,"_cnpm_publish_time":1465132557869,"_cnpmcore_publish_time":"2021-12-13T12:29:52.146Z","contributors":[]},"1.0.4":{"name":"cluster-key-slot","version":"1.0.4","description":"Generates CRC hashes for strings - for use by node redis clients to determine key slots.","main":"lib/index.js","scripts":{"test":"mocha","benchmark":"node ./benchmark","posttest":"eslint lib && npm run coverage && npm run coverage:check","coverage":"node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec","coverage:check":"node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/cluster-key-slot.git"},"keywords":["redis","hash","crc","slot","calc","javascript","node","node_redis","ioredis"],"engines":{"node":">=0.10.0"},"devDependencies":{"benchmark":"^2.1.0","codeclimate-test-reporter":"^0.3.1","eslint":"^2.10.2","eslint-config-airbnb-base":"^3.0.1","eslint-plugin-import":"^1.8.0","istanbul":"^0.4.0","mocha":"^2.3.2"},"author":{"name":"Mike Diarmid"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/cluster-key-slot/issues"},"homepage":"https://github.com/NodeRedis/cluster-key-slot#readme","directories":{"test":"test","lib":"lib"},"gitHead":"98daf121c7d8159f6afd1698ea1b864204c54357","_id":"cluster-key-slot@1.0.4","_shasum":"89bd74c98510357d47af9a1801c6db8ded9fd223","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"anonymous","email":"mike.diarmid@gmail.com"},"dist":{"shasum":"89bd74c98510357d47af9a1801c6db8ded9fd223","size":4957,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cluster-key-slot/-/cluster-key-slot-1.0.4.tgz","integrity":"sha512-VV44HIiqChfIKSX6tzMfMgFqcBW2uDCcgSG6ZU2gZyQHcKEMQLaOMukudaTyHwlUSLu95voAWwoovIzTz3QNow=="},"maintainers":[{"name":"anonymous","email":"mike.diarmid@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cluster-key-slot-1.0.4.tgz_1465131859363_0.4521941691637039"},"publish_time":1465131861143,"_hasShrinkwrap":false,"_cnpm_publish_time":1465131861143,"_cnpmcore_publish_time":"2021-12-13T12:29:52.493Z","contributors":[]},"1.0.3":{"name":"cluster-key-slot","version":"1.0.3","description":"Generates CRC hashes for strings - for use by node redis clients to determine key slots.","main":"lib/index.js","scripts":{"test":"mocha","benchmark":"node ./benchmark","posttest":"eslint lib && npm run coverage && npm run coverage:check","coverage":"node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec","coverage:check":"node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/cluster-key-slot.git"},"keywords":["redis","hash","crc","slot","calc","javascript","node","node_redis","ioredis"],"engines":{"node":">=0.10.0"},"devDependencies":{"benchmark":"^2.1.0","codeclimate-test-reporter":"^0.3.1","eslint":"^2.10.2","eslint-config-airbnb-base":"^3.0.1","eslint-plugin-import":"^1.8.0","istanbul":"^0.4.0","mocha":"^2.3.2"},"author":{"name":"Mike Diarmid"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/cluster-key-slot/issues"},"homepage":"https://github.com/NodeRedis/cluster-key-slot#readme","directories":{"test":"test","lib":"lib"},"gitHead":"a2a545be98a4e6033f9885ac313a90b7cb38a072","_id":"cluster-key-slot@1.0.3","_shasum":"bc2fb8bd989d2381ecc329cfdc72505a42fc1d77","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"anonymous","email":"mike.diarmid@gmail.com"},"dist":{"shasum":"bc2fb8bd989d2381ecc329cfdc72505a42fc1d77","size":4865,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cluster-key-slot/-/cluster-key-slot-1.0.3.tgz","integrity":"sha512-askdCTKq2brjSEsOa4m3lWQZgTl/+1hideDyps/cDCrJtmwXqJxaKgLM9q1lRZW7LZXymwXfz17r8bFgcjCHwQ=="},"maintainers":[{"name":"anonymous","email":"mike.diarmid@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cluster-key-slot-1.0.3.tgz_1465131659341_0.773193744244054"},"publish_time":1465131661875,"_hasShrinkwrap":false,"_cnpm_publish_time":1465131661875,"_cnpmcore_publish_time":"2021-12-13T12:29:52.901Z","contributors":[]},"1.0.2":{"name":"cluster-key-slot","version":"1.0.2","description":"Generates CRC hashes for strings - for use by node redis clients to determine key slots.","main":"lib/index.js","scripts":{"test":"mocha","benchmark":"node ./benchmark","posttest":"eslint lib && npm run coverage && npm run coverage:check","coverage":"node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec","coverage:check":"node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/cluster-key-slot.git"},"keywords":["redis","hash","crc","slot","calc","javascript","node","node_redis","ioredis"],"engines":{"node":">=0.10.0"},"devDependencies":{"benchmark":"^2.1.0","codeclimate-test-reporter":"^0.3.1","eslint":"^2.10.2","eslint-config-airbnb-base":"^3.0.1","eslint-plugin-import":"^1.8.0","istanbul":"^0.4.0","mocha":"^2.3.2"},"author":{"name":"Mike Diarmid"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/cluster-key-slot/issues"},"homepage":"https://github.com/NodeRedis/cluster-key-slot#readme","directories":{"test":"test","lib":"lib"},"gitHead":"5ca126cf4396a691cd1ac38a595899adaf3ab5a1","_id":"cluster-key-slot@1.0.2","_shasum":"1e409a88749baa3f078f1b130357c7f51b580ba7","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"anonymous","email":"mike.diarmid@gmail.com"},"dist":{"shasum":"1e409a88749baa3f078f1b130357c7f51b580ba7","size":4425,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cluster-key-slot/-/cluster-key-slot-1.0.2.tgz","integrity":"sha512-g2NWcA2/GGP7CmaNHzKF2XH6YbBkQsfwIYAAZjwbdoC3dd6liNNgnmzmsYSyu3aR3wftsjgFeG7gxHI5A3tzqw=="},"maintainers":[{"name":"anonymous","email":"mike.diarmid@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cluster-key-slot-1.0.2.tgz_1465130522643_0.4274124607909471"},"publish_time":1465130524421,"_hasShrinkwrap":false,"_cnpm_publish_time":1465130524421,"_cnpmcore_publish_time":"2021-12-13T12:29:53.319Z","contributors":[]},"1.0.2-p":{"name":"cluster-key-slot","version":"1.0.2-p","description":"Generates CRC hashes for strings - for use by node redis clients to determine key slots.","main":"lib/index.js","scripts":{"test":"mocha","benchmark":"node ./benchmark","posttest":"eslint lib && npm run coverage && npm run coverage:check","coverage":"node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec","coverage:check":"node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/cluster-key-slot.git"},"keywords":["redis","hash","crc","slot","calc","javascript","node","node_redis","ioredis"],"engines":{"node":">=0.10.0"},"devDependencies":{"benchmark":"^2.1.0","codeclimate-test-reporter":"^0.3.1","eslint":"^2.10.2","eslint-config-airbnb-base":"^3.0.1","eslint-plugin-import":"^1.8.0","istanbul":"^0.4.0","mocha":"^2.3.2"},"author":{"name":"Mike Diarmid"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/cluster-key-slot/issues"},"homepage":"https://github.com/NodeRedis/cluster-key-slot#readme","directories":{"test":"test","lib":"lib"},"gitHead":"5ca126cf4396a691cd1ac38a595899adaf3ab5a1","_id":"cluster-key-slot@1.0.2-p","_shasum":"8173f34fd6006ec929543f3b2fe218c135710ac8","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"anonymous","email":"mike.diarmid@gmail.com"},"dist":{"shasum":"8173f34fd6006ec929543f3b2fe218c135710ac8","size":4422,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cluster-key-slot/-/cluster-key-slot-1.0.2-p.tgz","integrity":"sha512-qmKaK2r2DMU7SMf/tPch7wnuNv6GZ6ejpMSUzEnhpG1eW6TZz48ylafMTaCXu9NJrvzU9LQD/IqeI/jDwHvODg=="},"maintainers":[{"name":"anonymous","email":"mike.diarmid@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cluster-key-slot-1.0.2-p.tgz_1465130514659_0.14494262798689306"},"publish_time":1465130516398,"_hasShrinkwrap":false,"_cnpm_publish_time":1465130516398,"_cnpmcore_publish_time":"2021-12-13T12:29:53.726Z","contributors":[]},"1.0.1":{"name":"cluster-key-slot","version":"1.0.1","description":"Generates CRC hashes for strings - for use by node redis clients to determine key slots.","main":"lib/index.js","scripts":{"test":"mocha","benchmark":"node ./benchmark","posttest":"eslint lib && npm run coverage && npm run coverage:check","coverage":"node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec","coverage:check":"node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/cluster-key-slot.git"},"keywords":["redis","hash","crc","slot","calc","javascript","node","node_redis","ioredis"],"engines":{"node":">=0.10.0"},"devDependencies":{"benchmark":"^2.1.0","codeclimate-test-reporter":"^0.3.1","eslint":"^2.10.2","eslint-config-airbnb-base":"^3.0.1","eslint-plugin-import":"^1.8.0","istanbul":"^0.4.0","mocha":"^2.3.2"},"author":{"name":"Mike Diarmid"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/cluster-key-slot/issues"},"homepage":"https://github.com/NodeRedis/cluster-key-slot#readme","directories":{"test":"test","lib":"lib"},"gitHead":"cd15ca143f918576ea6b93065bf942704cc63956","_id":"cluster-key-slot@1.0.1","_shasum":"13e860cf448f34d028b9eca38f223a0544a8d32a","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"anonymous","email":"mike.diarmid@gmail.com"},"dist":{"shasum":"13e860cf448f34d028b9eca38f223a0544a8d32a","size":4429,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cluster-key-slot/-/cluster-key-slot-1.0.1.tgz","integrity":"sha512-fI6e7+LSH/+a64Iv6LmaYjom19TLmxbMr9zdfjteKYvoiG8cjgjG2RqqVvXpk1Ri1L60+s07fBBJpKjnZyc9gg=="},"maintainers":[{"name":"anonymous","email":"mike.diarmid@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cluster-key-slot-1.0.1.tgz_1464710271483_0.7445224104449153"},"publish_time":1464710273977,"_hasShrinkwrap":false,"_cnpm_publish_time":1464710273977,"_cnpmcore_publish_time":"2021-12-13T12:29:54.109Z","contributors":[]},"1.0.0":{"name":"cluster-key-slot","version":"1.0.0","description":"Generates CRC hashes for strings - for use by node redis clients to determine key slots.","main":"index.js","scripts":{"test":"mocha","benchmark":"node ./benchmark","posttest":"eslint lib && npm run coverage && npm run coverage:check","coverage":"node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec","coverage:check":"node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/cluster-key-hash.git"},"keywords":["redis","crc","slot","calc","javascript","node","node_redis","ioredis"],"engines":{"node":">=0.10.0"},"devDependencies":{"codeclimate-test-reporter":"^0.3.1","eslint":"^2.10.2","eslint-config-airbnb-base":"^3.0.1","eslint-plugin-import":"^1.8.0","intercept-stdout":"^0.1.2","istanbul":"^0.4.0","mocha":"^2.3.2","qtimeit":"^0.9.1"},"author":{"name":"Mike Diarmid"},"license":"MIT","bugs":{"url":"https://github.com/salakar/cluster-key-slot/issues"},"homepage":"https://github.com/salakar/cluster-key-slot#readme","directories":{"test":"test","lib":"lib"},"gitHead":"139fdf533a23aa5ada7098e5ac693d6fe6577b3c","_id":"cluster-key-slot@1.0.0","_shasum":"48b90c2784224d1581c00878d42f1489e092f9a9","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"anonymous","email":"mike.diarmid@gmail.com"},"dist":{"shasum":"48b90c2784224d1581c00878d42f1489e092f9a9","size":4900,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cluster-key-slot/-/cluster-key-slot-1.0.0.tgz","integrity":"sha512-shrXVXheFLf/0+EoaGx/YNdjjVCBdUWHubfLfR6bQvqQIIO0byexTjZJg/egq40ryawiXPcHwaZdar7Nz8/Liw=="},"maintainers":[{"name":"anonymous","email":"mike.diarmid@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cluster-key-slot-1.0.0.tgz_1464595758196_0.9757133456878364"},"publish_time":1464595760327,"_hasShrinkwrap":false,"_cnpm_publish_time":1464595760327,"_cnpmcore_publish_time":"2021-12-13T12:29:54.586Z","contributors":[]},"1.1.1":{"name":"cluster-key-slot","version":"1.1.1","description":"Generates CRC hashes for strings - for use by node redis clients to determine key slots.","main":"lib/index.js","scripts":{"benchmark":"node ./benchmark","posttest":"eslint ./lib && npm run coveralls","coveralls":"cat ./coverage/lcov.info | coveralls","test":"node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec","coverage:check":"node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"},"repository":{"type":"git","url":"git+https://github.com/Salakar/cluster-key-slot.git"},"keywords":["redis","hash","crc","slot","calc","javascript","node","node_redis","ioredis"],"engines":{"node":">=0.10.0"},"devDependencies":{"benchmark":"^2.1.0","codeclimate-test-reporter":"^0.3.1","coveralls":"^2.11.9","eslint":"^3.5.0","eslint-config-airbnb-base":"^7.1.0","eslint-plugin-import":"^1.8.0","istanbul":"^0.4.0","mocha":"^3.0.2"},"author":{"name":"Mike Diarmid","email":"mike.diarmid@gmail.com","url":"http://github.com/Salakar/"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Salakar/cluster-key-slot/issues"},"homepage":"https://github.com/Salakar/cluster-key-slot#readme","directories":{"test":"test","lib":"lib"},"gitHead":"29c10bbd5c2948ec274bad51539e1a449f1b2a29","_id":"cluster-key-slot@1.1.1","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-rwHwUfXL40Chm1r08yrhU3qpUvdVlgkKNeyeGPOxnW8/SyVDvgRaed/Uz54AqWNaTCAThlj6QAs3TZcKI0xDEw==","shasum":"10ccb9ded0729464b6d2e7d714b100a2d1259d43","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cluster-key-slot/-/cluster-key-slot-1.1.1.tgz","fileCount":5,"unpackedSize":11758,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICpNLfcoB3rWSYErYhT5dLvYcSSW7uy0fhUf6KljgsCGAiAkfNfBbCgZgY3mnhweQlfV1ZmmKvL9sPKUxm1Ss4Z8Zg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMtRtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrw2A//X2D5h5V3hp6TCi6DfYxtjMHygOacTxxNP8YEWL9scfQD5fMX\r\nUXuT7/Vr0CqPF5oK4Ps3uikuDpb7BtLHWupaWeKiEwo2f1n3K2NAc5d6eq7b\r\nIOREGbg8NWEXJGGEdjxpV+Nqw+x3637JqimgEYLKc8UO4CfvO3jyl0UHfoW7\r\nVDReMtOsHwFrrckNVigLvDioIMAd47Suj6J3QNpf0oyM3rpQEk0rDGxqXwEW\r\nawwEOr6CMDxGeR7A0cVs0c3ujplZToyX31lKoen2JMkolqp9OsA0HIjfTrAM\r\nks0kAvkWmQO3FnHwQ7gFt9wQb0MyCTP0ksxBnoP7kTCwK7peXQ16ArUP+fRM\r\nLIl0wnuY1/jvnYFh53r68rrVKxaJfON4NvM0zi/YYn58fnOb+LwvS8jnZ6V3\r\n0YG5pg4osJt2fxMowjtdnjX4Pt+Eroy68EIht6P82zLHJktZFdYQ4xpGlHk5\r\nM2gJZo2KPfSGaQh+LAKb+BucDbGtv9pLPXNG7uTgTAKO/RX4Qd0FGk6DIpP0\r\nn9CYd6kKvPIXLyfJx0JoLPxIZnCjZ342/LTI41UUERjHvBK5A5Pi5MeqdqNG\r\n2Iv9lPkr5+ETE9k4eQS5FfbToM4duweHfcJ13p7ZcsoEzjiUPQzHaLU8TGtl\r\nJKaQT149yRtHZ5u2fgf2Qq8ML5XZhmiUmkE=\r\n=Mt0c\r\n-----END PGP SIGNATURE-----\r\n","size":5133},"_npmUser":{"name":"anonymous","email":"mike.diarmid@gmail.com"},"maintainers":[{"name":"anonymous","email":"mike.diarmid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cluster-key-slot_1.1.1_1664275565011_0.8786416327541862"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-27T11:15:15.980Z","contributors":[]},"1.1.2":{"name":"cluster-key-slot","version":"1.1.2","description":"Generates CRC hashes for strings - for use by node redis clients to determine key slots.","main":"lib/index.js","types":"index.d.ts","scripts":{"benchmark":"node ./benchmark","posttest":"eslint ./lib && npm run coveralls","coveralls":"cat ./coverage/lcov.info | coveralls","test":"node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec","coverage:check":"node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"},"repository":{"type":"git","url":"git+https://github.com/Salakar/cluster-key-slot.git"},"keywords":["redis","hash","crc","slot","calc","javascript","node","node_redis","ioredis"],"engines":{"node":">=0.10.0"},"devDependencies":{"benchmark":"^2.1.0","codeclimate-test-reporter":"^0.3.1","coveralls":"^2.11.9","eslint":"^3.5.0","eslint-config-airbnb-base":"^7.1.0","eslint-plugin-import":"^1.8.0","istanbul":"^0.4.0","mocha":"^3.0.2"},"author":{"name":"Mike Diarmid","email":"mike.diarmid@gmail.com","url":"http://github.com/Salakar/"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Salakar/cluster-key-slot/issues"},"homepage":"https://github.com/Salakar/cluster-key-slot#readme","directories":{"test":"test","lib":"lib"},"gitHead":"992ae4c2599dd8ff985930df1013af4ab94fe7e1","_id":"cluster-key-slot@1.1.2","_nodeVersion":"18.3.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==","shasum":"88ddaa46906e303b5de30d3153b7d9fe0a0c19ac","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz","fileCount":6,"unpackedSize":12180,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/Ada8wcVcaogcEQg9d09m82ELUYSHUKYHtr0zkJZJOgIhAMW+kRVniuTHNB7CaQWC/PiX/IN8fnkQwSdhGoptBS5b"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYScaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqSiQ/9FR20HhAWXiuDvTFa0RwNsGpCkqDRBem94x/xpIoVhDp7we8r\r\nro0n4wVVycEz+Pag4ZKOIzHU/bcwDi02tHtqc1Taaq4DLQcdlNfjcpF8wtOn\r\ntrpqR4vb/yWIgdL14uvEkPY5IKzWAXDdC97ywehccNjoMZZWFsIdVoyn9UCW\r\n19sEDF0WZiSc2fDcGfev2e6B3+2DfCnO4qVwCJCXgv6N2ct+Xgiw36kkbS18\r\nYKBjrvPqGB9E0X79sUizSNeYbCfdl+X9gt/XGoRZ9FHMYYyB+VPQrHTACpSJ\r\n0VfPgetSLMl9PJha09sT1XxsUzR5amWKg16N8OXaJ2IFShzCrKBSLkdLxb6Q\r\n+GKEOy3OvkPA5QUo0GdIpSforUHNNcHiOKKE4EKC9xe/gWutkF6wNWXDYI/i\r\nVUEwUZVPoFm48i0JC3X+hFxdRSDhVWgJp6x6nTbRs7lO+Wx0Ui+KteLiO64a\r\nlE3TDtAx1rrqxR+rcRpDgO2RLCD+qQIKS18YLVcaoZrtJKEDh64ocWyyfvzV\r\nTiavdeZfYBqgCYEPVoZdNJ4Osamuu7WfEValHZtAGVIMQk2F+35nVjfvU0+w\r\nMjA4qh1yrNurJME9aKKevhD840CYTH4xTnSEGq7/6F7VZbj73pzCPzug1etQ\r\nWmli/L+bMDiFBKvZRfker9DdUPY0NyXVnJ4=\r\n=1h/3\r\n-----END PGP SIGNATURE-----\r\n","size":5253},"_npmUser":{"name":"anonymous","email":"mike.diarmid@gmail.com"},"maintainers":[{"name":"anonymous","email":"mike.diarmid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cluster-key-slot_1.1.2_1667311386149_0.6830058681166773"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-01T14:03:38.457Z","contributors":[]}},"dist-tags":{"latest":"1.1.2"},"name":"cluster-key-slot","time":{"created":"2022-01-26T12:54:40.797Z","modified":"2023-08-02T05:14:06.176Z","1.1.0":"2019-07-18T09:32:37.646Z","1.0.12":"2018-05-24T23:44:10.043Z","1.0.11":"2018-05-24T23:28:01.833Z","1.0.10":"2018-05-24T23:04:04.740Z","1.0.9":"2018-04-25T14:50:39.214Z","1.0.8":"2016-09-15T10:59:45.062Z","1.0.6":"2016-06-23T15:47:39.503Z","1.0.5":"2016-06-05T13:15:57.869Z","1.0.4":"2016-06-05T13:04:21.143Z","1.0.3":"2016-06-05T13:01:01.875Z","1.0.2":"2016-06-05T12:42:04.421Z","1.0.2-p":"2016-06-05T12:41:56.398Z","1.0.1":"2016-05-31T15:57:53.977Z","1.0.0":"2016-05-30T08:09:20.327Z","1.1.1":"2022-09-27T10:46:05.140Z","1.1.2":"2022-11-01T14:03:06.331Z"},"readme":"[![Coverage Status](https://coveralls.io/repos/github/Salakar/cluster-key-slot/badge.svg?branch=master)](https://coveralls.io/github/Salakar/cluster-key-slot?branch=master)\n![Downloads](https://img.shields.io/npm/dt/cluster-key-slot.svg)\n[![npm version](https://img.shields.io/npm/v/cluster-key-slot.svg)](https://www.npmjs.com/package/cluster-key-slot)\n[![dependencies](https://img.shields.io/david/Salakar/cluster-key-slot.svg)](https://david-dm.org/Salakar/cluster-key-slot)\n[![License](https://img.shields.io/npm/l/cluster-key-slot.svg)](/LICENSE)\n<a href=\"https://twitter.com/mikediarmid\"><img src=\"https://img.shields.io/twitter/follow/mikediarmid.svg?style=social&label=Follow\" alt=\"Follow on Twitter\"></a>\n\n# Redis Key Slot Calculator\n\nA high performance redis cluster key slot calculator for node redis clients e.g. [node_redis](https://github.com/NodeRedis/node_redis), [ioredis](https://github.com/luin/ioredis) and [redis-clustr](https://github.com/gosquared/redis-clustr/).\n\nThis also handles key tags such as `somekey{actualTag}`.\n\n## Install\n\nInstall with [NPM](https://npmjs.org/):\n\n```\nnpm install cluster-key-slot --save\n```\n\n## Usage\n\n```js\nconst calculateSlot = require('cluster-key-slot');\nconst calculateMultipleSlots = require('cluster-key-slot').generateMulti;\n\n// ...\n\n// a single slot number\nconst slot = calculateSlot('test:key:{butOnlyThis}redis');\n// Buffer is also supported\nconst anotherSlot = calculateSlot(Buffer.from([0x7b, 0x7d, 0x2a]));\n\n// multiple keys - multi returns a single key slot number, returns -1 if any\n// of the keys does not match the base slot number (base is defaulted to first keys slot)\n// This is useful to quickly determine a singe slot for multi keys operations.\nconst slotForRedisMulti = calculateMultipleSlots([\n  'test:key:{butOnlyThis}redis',\n  'something:key45:{butOnlyThis}hello',\n  'example:key46:{butOnlyThis}foobar',\n]);\n```\n\n## Benchmarks\n\n`OLD` in these benchmarks refers to the `ioredis` crc calc and many of the other calculators that use `Buffer`.\n\n```text\nnode -v                                                                                                                                                                                                ✔  16.38G RAM  10:29:07\nv10.15.3\n\nNEW tags x 721,445 ops/sec ±0.44% (90 runs sampled)\nOLD tags x 566,777 ops/sec ±0.97% (96 runs sampled)\nNEW without tags x 2,054,845 ops/sec ±1.77% (92 runs sampled)\nOLD without tags x 865,839 ops/sec ±0.43% (96 runs sampled)\nNEW without tags singular x 6,354,097 ops/sec ±1.25% (94 runs sampled)\nOLD without tags singular x 4,012,250 ops/sec ±0.96% (94 runs sampled)\nNEW tags (Buffer) x 552,346 ops/sec ±1.35% (92 runs sampled)\n```","users":{}}