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