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