NEW YORK — United Parcel Service said on Wednesday it would hire more than 100,000 holiday workers in 2022, in line with last year, to deal with a surge in packages.

The logistics company said the job openings are mainly for full-time and part-time drivers and package handlers.

Both UPS and rival FedEx Corp hire thousands of temporary workers each year to move more parcels between the months of October and January. This year, they face the added headache of a tight labor market although supply of workers seems to be gradually improving.

Both the companies benefited from a surge in online shopping during the COVID-19 pandemic. Although overall e-commerce demand has fallen from those highs, they have gained by prioritizing delivery of parcels that bring in more money.