/opt/canhelp/node_modules/cluster-key-slot
NameSizeModeActions
lib/-0755rm
.eslintrc2760644editdlrm
index.d.ts3970644editdlrm
LICENSE5950644editdlrm
package.json15490644editdlrm
README.md27130644editdlrm
Edit: /opt/canhelp/node_modules/cluster-key-slot/index.d.ts (397B)
declare module 'cluster-key-slot' { // Convert a string or Buffer into a redis slot hash. function calculate(value: string | Buffer): number; // Convert an array of multiple strings or Buffers into a redis slot hash. // Returns -1 if one of the keys is not for the same slot as the others export function generateMulti(values: Array): number; export = calculate; }