{"library":"redis-hsetex","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"6.0.0","tags":["javascript","redis"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install redis-hsetex","imports":["const hsetex = require('redis-hsetex')","const hsetex = require('redis-hsetex'); redis.defineCommand(hsetex.name, { lua: hsetex.lua, numberOfKeys: hsetex.numberOfKeys })","const hsetex = require('redis-hsetex'); redis.defineCommand(hsetex.name, ...)"]},{"cmd":"yarn add redis-hsetex","imports":[]},{"cmd":"pnpm add redis-hsetex","imports":[]}],"homepage":"https://github.com/dotcore64/redis-hsetex#readme","github":"https://github.com/dotcore64/redis-hsetex","docs":null,"changelog":null,"pypi":null,"npm":"redis-hsetex","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}