/
opt
/
canhelp
/
node_modules
/
cluster-key-slot
/
/opt/canhelp/node_modules/cluster-key-slot
mkdir
upload
Name
Size
Mode
Actions
lib/
-
0755
rm
.eslintrc
276
0644
edit
dl
rm
index.d.ts
397
0644
edit
dl
rm
LICENSE
595
0644
edit
dl
rm
package.json
1549
0644
edit
dl
rm
README.md
2713
0644
edit
dl
rm
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<string | Buffer>): number; export = calculate; }
Save
cmd:
run