redis-hsetex
JSON →Provides a Lua script implementing the HSETEX Redis command, which sets a hash field value and simultaneously updates the key expiration. The package is at version 6.0.0, requiring Node >=20, and is designed to be used with ioredis or any Redis client that can define custom commands via Lua scripts. It differentiates by offering a single-purpose Redis extension for atomic hash set + expire operations, unlike generic Redis clients or multi-command patterns. The release cadence is irregular; updates are triggered by library compatibility or bug fixes. It is a minimal dependency with no runtime dependencies.
Resources
packageredis-hsetex ↗