Provides Redis-backed counter and state functions for SQRL (Safe, Stateful Rules Language for Event Streams). Current version 0.6.10, stable but not actively developed. Allows SQRL rules to store and retrieve state in Redis, enabling persistent, distributed state management across event processing pipelines. Differentiator: purpose-built for SQRL's rule engine, tightly integrated with other SQRL packages.
npm install sqrl-redis-functionsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to configure SQRL client with Redis functions and process an event through a rule.
Always pass a redis config object with host and port.
Ensure Redis is accessible before using sqrl-redis-functions.
Refer to https://sqrl-lang.github.io/sqrl/packages/sqrl-redis-functions.html for current API.
Verify Redis is running and REDIS_HOST/REDIS_PORT environment variables are correct.
Use ESM import: import redisFunctions from 'sqrl-redis-functions';