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