Syllabus is a collection of helpers and mix-ins for encoding Redis commands and decoding Redis replies, built upon the Sermone protocol module. The current stable version is 1.1.0 (released 2017, low release cadence). It supports over 190 Redis commands across all command groups, includes a LUA script cache via Camphora, and handles semantic versioning via Hoar. Key differentiators: it focuses on command encoding/decoding rather than full client implementation, designed to be extended; it provides a cache for LUA scripts and mixes in all Redis commands as methods. It is part of the rootslab ecosystem that also includes Libra and Spade for full client functionality.
npm install syllabusNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage: encoding a Redis SET command, decoding a reply, and using the LUA script cache.
Consider using a full-featured Redis client like ioredis or redis instead.
Always use new Syllabus() or const s = new Syllabus();
Migrate to actively maintained Redis clients like ioredis or node-redis.
Ensure Camphora is installed and accessible; use new Syllabus().lua
Use new Syllabus() to create an instance.
Install sermone: npm install sermone
Use new Syllabus().lua