25th December 2025
Research
Redis JavaScript Module
— Expanding Redis’s scripting capabilities, the Redis JavaScript Module enables users to execute JavaScript scripts in Redis through the fast, embedded mquickjs engine, paralleling the Lua scripting features but with a JavaScript syntax. This module introduces commands like `JS.EVAL`, `JS.LOAD`, and `JS.CALL`, supporting script execution, caching, and invocation by SHA1 hash, along with native integrations for running Redis commands, logging, and error handling within scripts.
I had Claude Code build an experimental Redis module for executing JavaScript code in a similar way to Lua using JS.EVAL and similar functions.
I was inspired to try this by this comment from antirez about how he would have used JavaScript in place of Lua as the embedded Redis scripting language if MicroQuickJS had been available in 2010.
Recent articles
- A new feature for my blog, built using my voice - 9th October 2026
- Claude Haiku 5.5 - 7th October 2026
- We're going to need default hard budget caps on pretty much everything - 3rd October 2026
- OpenAI DevDay 2026 live blog - 29th September 2026