You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API surface of this library is actually closer to ioredis than node_redis. ioredis supports promises out of the box, and has a slightly cleaner multi() design.
It's pretty easy to make handy-redis wrap an ioredis client as well, and the API is basically the same. This library would continue to provide types for the actual commands, and leave operations like pub/sub and lua scripting to the underlying client.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The API surface of this library is actually closer to ioredis than node_redis. ioredis supports promises out of the box, and has a slightly cleaner
multi()
design.It's pretty easy to make handy-redis wrap an ioredis client as well, and the API is basically the same. This library would continue to provide types for the actual commands, and leave operations like pub/sub and lua scripting to the underlying client.
Here's the POC pull request: #241
Beta Was this translation helpful? Give feedback.
All reactions