ioredis

v5.4.1
A robust, performance-focused and full-featured Redis client for Node.js.
redis cluster sentinel pipelining

test:tsd

npm run build && tsd

test:js

TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test mocha "test/helpers/*.ts" "test/unit/**/*.ts" "test/functional/**/*.ts"

test:cov

nyc npm run test:js

test:js:cluster

TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test mocha "test/cluster/**/*.ts"

test

npm run test:js && npm run test:tsd

lint

eslint --ext .js,.ts ./lib

docs

npx typedoc --logLevel Error --excludeExternals --excludeProtected --excludePrivate --readme none lib/index.ts

format

prettier --write "{,!(node_modules)/**/}*.{js,ts}"

format-check

prettier --check "{,!(node_modules)/**/}*.{js,ts}"

build

rm -rf built && tsc

prepublishOnly

npm run build

semantic-release

semantic-release
npm i ioredis

Metadata

  • MIT
  • >=12.22.0
  • Zihua Li
  • released 4/17/2024

Downloads