node redis set expiry code example Example: redis set expire time node js client.set(key, value, 'EX', 60 * 60 * 24, callback);