stipsan / ioredis-mock

Emulates ioredis by performing all operations in-memory.
MIT License
341 stars 124 forks source link

Redis Lua interpreter libraries #1055

Open jspkiel opened 3 years ago

jspkiel commented 3 years ago

We are using ioredis-tree package to store some hierarchical tree structures in Redis.

However, the lua scripts this library runs depend on csmgpack library which normally is by default part of the Redis Lua interpreter, but it fails when run with ioredis-mock. Is there any way to add this or any of the default libraries of Redis Lua interpreter (through c lib or js package equivalent)?

The default available libraries can be see here for reference.

stipsan commented 3 years ago

Hey you're welcome to send in a PR that adds them.

I would love to do it myself but I have zero Lua experience and wouldn't even know where to start 🙂