cors is a Node.js package that provides middleware for enabling Cross-Origin Resource Sharing (CORS). Effectively, it simplifies adding CORS headers to your server's responses, allowing web applications hosted on different domains to make requests to your API. cors offers various configuration options to control allowed origins, methods, and headers, ensuring secure and flexible cross-origin communication. This package is essential for building modern web applications that require interaction between different domains.
The npm package cors saw frequent releases in its early years (2013-2017), with several versions published each year. Release frequency peaked in 2013 and 2014. After 2018, releases became very infrequent, with only one release in November 2018 and none since then. Currently, as of August 2025, there have been no new releases for almost 7 years.
CORS npm package downloads show consistent growth. Starting from around 47 million downloads in March 2024, reaching nearly 86 million in August 2025. There's a clear upward trend, with a significant surge in downloads observed from May 2025 onwards, indicating increasing use and popularity.