File manager - Edit - /home/gzbnyc5/.npm/registry.npmjs.org/redis-commands/.cache.json
Back
{"_id":"redis-commands","_rev":"24-25b1d89237e0a143c9acd104d5375c29","name":"redis-commands","description":"Redis commands","dist-tags":{"latest":"1.3.5"},"versions":{"0.0.1":{"name":"redis-commands","version":"0.0.1","description":"Redis commands implemented in javascript (learning purpose only)","main":"index.js","dependencies":{"minimatch":"~0.2.11"},"devDependencies":{"mocha":"~1.9.0","should":"*"},"scripts":{"test":"make test"},"repository":{"type":"git","url":"https://github.com/yuanchuan/redis-commands"},"keywords":["redis","commands","api"],"author":{"name":"yuanchuan"},"license":"MIT","_id":"redis-commands@0.0.1","dist":{"shasum":"1ed845993fd81b849f50bff1ede15d118c088608","tarball":"https://registry.npmjs.org/redis-commands/-/redis-commands-0.0.1.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"yuanchuan","email":"yuanchuan23@gmail.com"},"maintainers":[{"name":"yuanchuan","email":"yuanchuan23@gmail.com"}],"directories":{}},"0.0.2":{"name":"redis-commands","version":"0.0.2","description":"Redis commands implemented in javascript (learning purpose only)","main":"index.js","dependencies":{"minimatch":"~0.2.11"},"devDependencies":{"mocha":"~1.9.0","should":"*"},"scripts":{"test":"make test"},"repository":{"type":"git","url":"https://github.com/yuanchuan/redis-commands"},"keywords":["redis","commands","api"],"author":{"name":"yuanchuan"},"license":"MIT","_id":"redis-commands@0.0.2","dist":{"shasum":"a918ea9f58187238e324a9ae9d4abb16e56fb885","tarball":"https://registry.npmjs.org/redis-commands/-/redis-commands-0.0.2.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"yuanchuan","email":"yuanchuan23@gmail.com"},"maintainers":[{"name":"yuanchuan","email":"yuanchuan23@gmail.com"}],"directories":{}},"0.0.3":{"name":"redis-commands","version":"0.0.3","description":"Redis commands implemented in javascript (learning purpose only)","main":"index.js","dependencies":{"minimatch":"~0.2.11"},"devDependencies":{"mocha":"~1.9.0","should":"*"},"scripts":{"test":"make test"},"repository":{"type":"git","url":"https://github.com/yuanchuan/redis-commands"},"keywords":["redis","commands","api"],"author":{"name":"yuanchuan"},"license":"MIT","bugs":{"url":"https://github.com/yuanchuan/redis-commands/issues"},"_id":"redis-commands@0.0.3","dist":{"shasum":"5cd4f907fe032d7bf0d6a72c008eeb4d4b0c1ce2","tarball":"https://registry.npmjs.org/redis-commands/-/redis-commands-0.0.3.tgz"},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"yuanchuan","email":"yuanchuan23@gmail.com"},"maintainers":[{"name":"yuanchuan","email":"yuanchuan23@gmail.com"}],"directories":{}},"1.0.0":{"name":"redis-commands","version":"1.0.0","description":"Redis commands","main":"index.js","scripts":{"test":"mocha","build":"node tools/build"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/redis-commands.git"},"keywords":["redis","commands"],"author":{"name":"luin","email":"i@zihua.li","url":"http://zihua.li"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/redis-commonds/issues"},"homepage":"https://github.com/NodeRedis/redis-commonds","devDependencies":{"chai":"^3.4.0","ioredis":"^1.0.8","json-stable-stringify":"^1.0.0","mocha":"^2.2.1"},"gitHead":"095cfc57b08039a49e4c321d79b0ca28f48272b8","_id":"redis-commands@1.0.0","_shasum":"4241e0cd6e50563b2787b03a62c274fcd6b4074a","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"luin","email":"i@zihua.li"},"dist":{"shasum":"4241e0cd6e50563b2787b03a62c274fcd6b4074a","tarball":"https://registry.npmjs.org/redis-commands/-/redis-commands-1.0.0.tgz"},"maintainers":[{"name":"luin","email":"i@zihua.li"}],"directories":{}},"1.0.1":{"name":"redis-commands","version":"1.0.1","description":"Redis commands","main":"index.js","scripts":{"test":"mocha","build":"node tools/build"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/redis-commands.git"},"keywords":["redis","commands","prefix"],"author":{"name":"luin","email":"i@zihua.li","url":"http://zihua.li"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/redis-commonds/issues"},"homepage":"https://github.com/NodeRedis/redis-commonds","devDependencies":{"chai":"^3.4.0","ioredis":"^1.0.8","json-stable-stringify":"^1.0.0","mocha":"^2.2.1"},"gitHead":"18da5e57a41f2f590b56d902143b6dd57f0d1da2","_id":"redis-commands@1.0.1","_shasum":"500f8a0f08ed19f76faadb754207ecd3a216a931","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"bridgear","email":"ruben@bridgewater.de"},"dist":{"shasum":"500f8a0f08ed19f76faadb754207ecd3a216a931","tarball":"https://registry.npmjs.org/redis-commands/-/redis-commands-1.0.1.tgz"},"maintainers":[{"name":"bridgear","email":"ruben@bridgewater.de"},{"name":"luin","email":"i@zihua.li"}],"directories":{}},"1.0.2":{"name":"redis-commands","version":"1.0.2","description":"Redis commands","main":"index.js","scripts":{"test":"mocha","build":"node tools/build"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/redis-commands.git"},"keywords":["redis","commands","prefix"],"author":{"name":"luin","email":"i@zihua.li","url":"http://zihua.li"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/redis-commonds/issues"},"homepage":"https://github.com/NodeRedis/redis-commonds","devDependencies":{"chai":"^3.4.0","ioredis":"^1.0.8","json-stable-stringify":"^1.0.0","mocha":"^2.2.1"},"gitHead":"ae56f81e732be254b4413575b4077daa674d742c","_id":"redis-commands@1.0.2","_shasum":"129577fa89f63fb25886954e47e22cbbf6d361ed","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"bridgear","email":"ruben@bridgewater.de"},"dist":{"shasum":"129577fa89f63fb25886954e47e22cbbf6d361ed","tarball":"https://registry.npmjs.org/redis-commands/-/redis-commands-1.0.2.tgz"},"maintainers":[{"name":"bridgear","email":"ruben@bridgewater.de"},{"name":"luin","email":"i@zihua.li"}],"directories":{}},"1.1.0":{"name":"redis-commands","version":"1.1.0","description":"Redis commands","main":"index.js","scripts":{"test":"mocha","build":"node tools/build"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/redis-commands.git"},"keywords":["redis","commands","prefix"],"author":{"name":"luin","email":"i@zihua.li","url":"http://zihua.li"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/redis-commonds/issues"},"homepage":"https://github.com/NodeRedis/redis-commonds","devDependencies":{"chai":"^3.4.0","ioredis":"^1.0.8","json-stable-stringify":"^1.0.0","mocha":"^2.2.1"},"gitHead":"1197dea82a96f28ac7a68420cb001cb5a8d305db","_id":"redis-commands@1.1.0","_shasum":"aa5609a52213596816b6050384332ef631011272","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"bridgear","email":"ruben@bridgewater.de"},"dist":{"shasum":"aa5609a52213596816b6050384332ef631011272","tarball":"https://registry.npmjs.org/redis-commands/-/redis-commands-1.1.0.tgz"},"maintainers":[{"name":"bridgear","email":"ruben@bridgewater.de"},{"name":"luin","email":"i@zihua.li"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/redis-commands-1.1.0.tgz_1455033796214_0.11535729700699449"},"directories":{}},"1.2.0":{"name":"redis-commands","version":"1.2.0","description":"Redis commands","main":"index.js","scripts":{"test":"mocha","posttest":"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","build":"node tools/build"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/redis-commands.git"},"keywords":["redis","commands","prefix"],"author":{"name":"luin","email":"i@zihua.li","url":"http://zihua.li"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/redis-commonds/issues"},"homepage":"https://github.com/NodeRedis/redis-commonds","devDependencies":{"chai":"^3.4.0","codeclimate-test-reporter":"^0.3.1","ioredis":"^2.0.0-rc2","istanbul":"^0.4.3","json-stable-stringify":"^1.0.0","mocha":"^2.2.1"},"gitHead":"d8913533a75f29e7748b8480b4d7b9d9e7a05526","_id":"redis-commands@1.2.0","_shasum":"4808e7a0fcb1d3609bec56eecc3532dacbab981c","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"bridgear","email":"ruben@bridgewater.de"},"dist":{"shasum":"4808e7a0fcb1d3609bec56eecc3532dacbab981c","tarball":"https://registry.npmjs.org/redis-commands/-/redis-commands-1.2.0.tgz"},"maintainers":[{"name":"bridgear","email":"ruben@bridgewater.de"},{"name":"luin","email":"i@zihua.li"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/redis-commands-1.2.0.tgz_1461202467613_0.6769857455510646"},"directories":{}},"1.3.0":{"name":"redis-commands","version":"1.3.0","description":"Redis commands","main":"index.js","scripts":{"pretest":"npm run lint","test":"mocha","posttest":"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","build":"node tools/build","lint":"standard --fix --verbose | snazzy"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/redis-commands.git"},"keywords":["redis","commands","prefix"],"author":{"name":"luin","email":"i@zihua.li","url":"http://zihua.li"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/redis-commonds/issues"},"homepage":"https://github.com/NodeRedis/redis-commonds","devDependencies":{"chai":"^3.4.0","codeclimate-test-reporter":"^0.3.1","ioredis":"^2.0.0","istanbul":"^0.4.3","json-stable-stringify":"^1.0.0","mocha":"^3.0.0","snazzy":"^5.0.0","standard":"^8.0.0"},"gitHead":"a3ea72da0064b90f83b5d4728b60d0bb3021ed6a","_id":"redis-commands@1.3.0","_shasum":"4307d8094aee1315829ab6729b37b99f62365d63","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.0","_npmUser":{"name":"bridgear","email":"ruben@bridgewater.de"},"dist":{"shasum":"4307d8094aee1315829ab6729b37b99f62365d63","tarball":"https://registry.npmjs.org/redis-commands/-/redis-commands-1.3.0.tgz"},"maintainers":[{"name":"bridgear","email":"ruben@bridgewater.de"},{"name":"luin","email":"i@zihua.li"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/redis-commands-1.3.0.tgz_1476993178910_0.8879043820779771"},"directories":{}},"1.3.1":{"name":"redis-commands","version":"1.3.1","description":"Redis commands","main":"index.js","scripts":{"pretest":"npm run lint","test":"mocha","posttest":"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","build":"node tools/build","lint":"standard --fix --verbose | snazzy"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/redis-commands.git"},"keywords":["redis","commands","prefix"],"author":{"name":"luin","email":"i@zihua.li","url":"http://zihua.li"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/redis-commonds/issues"},"homepage":"https://github.com/NodeRedis/redis-commonds","devDependencies":{"chai":"^3.4.0","codeclimate-test-reporter":"^0.4.0","ioredis":"^2.0.0","istanbul":"^0.4.3","json-stable-stringify":"^1.0.0","mocha":"^3.0.0","snazzy":"^6.0.0","standard":"^8.0.0"},"gitHead":"3c87f94d94fcf66ca0c77101a6d36fad32134326","_id":"redis-commands@1.3.1","_shasum":"81d826f45fa9c8b2011f4cd7a0fe597d241d442b","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"bridgear","email":"ruben@bridgewater.de"},"dist":{"shasum":"81d826f45fa9c8b2011f4cd7a0fe597d241d442b","tarball":"https://registry.npmjs.org/redis-commands/-/redis-commands-1.3.1.tgz"},"maintainers":[{"name":"bridgear","email":"ruben@bridgewater.de"},{"name":"luin","email":"i@zihua.li"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/redis-commands-1.3.1.tgz_1485363355063_0.7909097610972822"},"directories":{}},"1.3.2":{"name":"redis-commands","version":"1.3.2","description":"Redis commands","main":"index.js","scripts":{"pretest":"npm run lint","test":"mocha","posttest":"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","build":"node tools/build","lint":"standard --fix --verbose | snazzy"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/redis-commands.git"},"keywords":["redis","commands","prefix"],"author":{"name":"luin","email":"i@zihua.li","url":"http://zihua.li"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/redis-commands/issues"},"homepage":"https://github.com/NodeRedis/redis-commands","devDependencies":{"chai":"^4.0.1","codeclimate-test-reporter":"^0.4.0","ioredis":"^3.0.0","istanbul":"^0.4.3","safe-stable-stringify":"^1.0.0","mocha":"^5.0.0","snazzy":"^7.0.0","standard":"^11.0.0"},"gitHead":"32ecf756e1640ba66b720c2f8c4a7efd9a98eb6f","_id":"redis-commands@1.3.2","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"bridgear","email":"ruben@bridgewater.de"},"dist":{"integrity":"sha512-LiwMnMvnLci2dCjarilDZyj+9rghB8Fiq6gmWBAqA1KU6G6eJBhv9DI4QmZxiqJC3IfQdJXa2TUHXLxPlE53Vg==","shasum":"68af910dc905cca66fdb0cd0af3091ef06a9b0e9","tarball":"https://registry.npmjs.org/redis-commands/-/redis-commands-1.3.2.tgz","fileCount":18,"unpackedSize":97044},"maintainers":[{"name":"bridgear","email":"ruben@bridgewater.de"},{"name":"luin","email":"i@zihua.li"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redis-commands_1.3.2_1519511439149_0.2625362357376426"}},"1.3.3":{"name":"redis-commands","version":"1.3.3","description":"Redis commands","main":"index.js","scripts":{"pretest":"npm run lint","test":"mocha","posttest":"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","build":"node tools/build","lint":"standard --fix --verbose | snazzy"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/redis-commands.git"},"keywords":["redis","commands","prefix"],"author":{"name":"luin","email":"i@zihua.li","url":"http://zihua.li"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/redis-commands/issues"},"homepage":"https://github.com/NodeRedis/redis-commands","devDependencies":{"chai":"^4.0.1","codeclimate-test-reporter":"^0.4.0","ioredis":"^3.0.0","istanbul":"^0.4.3","safe-stable-stringify":"^1.0.0","mocha":"^5.0.0","snazzy":"^7.0.0","standard":"^11.0.0"},"gitHead":"01a93c98e2c7788c704741d40c6e91830c192536","_id":"redis-commands@1.3.3","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"bridgear","email":"ruben@bridgewater.de"},"dist":{"integrity":"sha512-i41GK1SzbNp5nqmuVAMQw9sgar/cvk4YqD6M2RXp2p94D4itY82OZGVs28Jl8JcslGnOdQvlBrDLPt6jYQzuow==","shasum":"6fa6034d23bae1b65e0a196fed9d9a9fe6eb3c13","tarball":"https://registry.npmjs.org/redis-commands/-/redis-commands-1.3.3.tgz","fileCount":18,"unpackedSize":96494},"maintainers":[{"name":"bridgear","email":"ruben@bridgewater.de"},{"name":"luin","email":"i@zihua.li"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redis-commands_1.3.3_1519512246730_0.9659726489798515"}},"1.3.4":{"name":"redis-commands","version":"1.3.4","description":"Redis commands","main":"index.js","scripts":{"pretest":"npm run lint","test":"mocha","posttest":"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","build":"node tools/build","lint":"standard --fix --verbose | snazzy"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/redis-commands.git"},"keywords":["redis","commands","prefix"],"author":{"name":"luin","email":"i@zihua.li","url":"http://zihua.li"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/redis-commands/issues"},"homepage":"https://github.com/NodeRedis/redis-commands","devDependencies":{"chai":"^4.0.1","codeclimate-test-reporter":"^0.4.0","ioredis":"^3.0.0","istanbul":"^0.4.3","safe-stable-stringify":"^1.0.0","mocha":"^5.0.0","snazzy":"^7.0.0","standard":"^11.0.0"},"gitHead":"a41fbeee4e359f6a314bb606af945ced1e3328f4","_id":"redis-commands@1.3.4","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"bridgear","email":"ruben@bridgewater.de"},"dist":{"integrity":"sha512-Rbg2QkbMxiW3l+e+FS4C/u8s6GPIdJqUAzQ6jjDVmWoCVTczkHN6ud4Y2mJ5QNqjqAE4Scza7leA78LB2kZDuw==","shasum":"4822139fab8eaf366fdaaa98a12736054a2fd625","tarball":"https://registry.npmjs.org/redis-commands/-/redis-commands-1.3.4.tgz","fileCount":8,"unpackedSize":35093},"maintainers":[{"name":"bridgear","email":"ruben@bridgewater.de"},{"name":"luin","email":"i@zihua.li"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redis-commands_1.3.4_1519688980941_0.7070763399115572"}},"1.3.5":{"name":"redis-commands","version":"1.3.5","description":"Redis commands","main":"index.js","scripts":{"pretest":"npm run lint","test":"mocha","posttest":"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","build":"node tools/build","lint":"standard --fix --verbose | snazzy"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/redis-commands.git"},"keywords":["redis","commands","prefix"],"author":{"name":"luin","email":"i@zihua.li","url":"http://zihua.li"},"license":"MIT","bugs":{"url":"https://github.com/NodeRedis/redis-commands/issues"},"homepage":"https://github.com/NodeRedis/redis-commands","devDependencies":{"chai":"^4.0.1","codeclimate-test-reporter":"^0.4.0","ioredis":"^3.0.0","istanbul":"^0.4.3","safe-stable-stringify":"^1.0.0","mocha":"^5.0.0","snazzy":"^7.0.0","standard":"^11.0.0"},"gitHead":"24a9aff5753572eca7bd6137f36d4cda02745c8b","_id":"redis-commands@1.3.5","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"bridgear","email":"ruben@bridgewater.de"},"dist":{"integrity":"sha512-foGF8u6MXGFF++1TZVC6icGXuMYPftKXt1FBT2vrfU9ZATNtZJ8duRC5d1lEfE8hyVe3jhelHGB91oB7I6qLsA==","shasum":"4495889414f1e886261180b1442e7295602d83a2","tarball":"https://registry.npmjs.org/redis-commands/-/redis-commands-1.3.5.tgz","fileCount":8,"unpackedSize":36385},"maintainers":[{"name":"bridgear","email":"ruben@bridgewater.de"},{"name":"luin","email":"i@zihua.li"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redis-commands_1.3.5_1519789329729_0.9570314495758643"}}},"readme":"# Redis Commands\n\n[](https://travis-ci.org/NodeRedis/redis-commands)\n[](https://codeclimate.com/github/NodeRedis/redis-commands)\n[](https://codeclimate.com/github/NodeRedis/redis-commands/coverage)\n\nThis module exports all the commands that Redis supports.\n\n## Install\n\n```shell\n$ npm install redis-commands\n```\n\n## Usage\n\n```javascript\nvar commands = require('redis-commands');\n```\n\n`.list` is an array contains all the lowercased commands:\n\n```javascript\ncommands.list.forEach(function (command) {\n console.log(command);\n});\n```\n\n`.exists()` is used to check if the command exists:\n\n```javascript\ncommands.exists('set') // true\ncommands.exists('other-command') // false\n```\n\n`.hasFlag()` is used to check if the command has the flag:\n\n```javascript\ncommands.hasFlag('set', 'readonly') // false\n```\n\n`.getKeyIndexes()` is used to get the indexes of keys in the command arguments:\n\n```javascript\ncommands.getKeyIndexes('set', ['key', 'value']) // [0]\ncommands.getKeyIndexes('mget', ['key1', 'key2']) // [0, 1]\n```\n\n## Acknowledgment\n\nThank [@Yuan Chuan](https://github.com/yuanchuan) for the package name. The original redis-commands is renamed to [@yuanchuan/redis-commands](https://www.npmjs.com/package/@yuanchuan/redis-commands).\n","maintainers":[{"name":"bridgear","email":"ruben@bridgewater.de"},{"name":"luin","email":"i@zihua.li"}],"time":{"modified":"2018-02-28T03:42:11.686Z","created":"2013-04-25T15:21:37.072Z","0.0.1":"2013-04-25T15:21:42.815Z","0.0.2":"2013-04-28T05:06:03.158Z","0.0.3":"2013-05-27T15:55:37.263Z","1.0.0":"2015-10-31T14:31:26.745Z","1.0.1":"2015-11-23T23:35:51.270Z","1.0.2":"2016-01-03T03:37:11.815Z","1.1.0":"2016-02-09T16:03:19.208Z","1.2.0":"2016-04-21T01:34:28.844Z","1.3.0":"2016-10-20T19:53:00.963Z","1.3.1":"2017-01-25T16:55:56.877Z","1.3.2":"2018-02-24T22:30:39.196Z","1.3.3":"2018-02-24T22:44:06.802Z","1.3.4":"2018-02-26T23:49:41.018Z","1.3.5":"2018-02-28T03:42:09.888Z"},"author":{"name":"luin","email":"i@zihua.li","url":"http://zihua.li"},"repository":{"type":"git","url":"git+https://github.com/NodeRedis/redis-commands.git"},"keywords":["redis","commands","prefix"],"bugs":{"url":"https://github.com/NodeRedis/redis-commands/issues"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/NodeRedis/redis-commands","users":{"xufz":true,"mojaray2k":true,"bikai":true},"_attachments":{},"_etag":"W/\"17b4b0d47cfef77b80c986c33eaae53c\""}
| ver. 1.4 |
Github
|
.
| PHP 8.3.31 | Generation time: 0 |
proxy
|
phpinfo
|
Settings