migrate-ioredis

Installation
SKILL.md

Migrating from ioredis to Valkey GLIDE (Node.js)

Use when migrating a Node.js application from ioredis to the GLIDE client library.

Routing

  • String, hash, list, set, sorted set, delete, exists, cluster -> API Mapping
  • Pipeline, transaction, Batch API, multi -> Advanced Patterns
  • PubSub, subscribe, publish, reversed args -> Advanced Patterns
  • Lua scripting, defineCommand, evalsha -> Advanced Patterns
  • Event handling, TypeScript -> Advanced Patterns

Key Differences

Area ioredis GLIDE
Hash args Spread pairs: hset("h", "k1", "v1", "k2", "v2") Object: hset("h", {k1: "v1", k2: "v2"})
Sorted set args Interleaved: zadd("z", 1, "a", 2, "b") Array of objects: zadd("z", [{element: "a", score: 1}])
Expiry Separate commands: setex, psetex Options on set(): {expiry: {type, count}}
Related skills

More from avifenesh/valkey-skills

Installs
1
GitHub Stars
2
First Seen
Apr 4, 2026