follow-redirects is an npm package that automatically follows HTTP and HTTPS redirects, unlike Node.js's built-in http and https modules. It handles various redirect status codes (301, 302, 307, 308) and methods (GET, POST, etc.), simplifying complex scenarios and eliminating the need for manual redirect handling. This package provides a more robust and user-friendly way to manage redirects in your Node.js applications, ensuring a smooth and seamless user experience.
The follow-redirects npm package had initial releases in 2012, followed by a period of inactivity. Releases resumed in 2015 and continued steadily through 2022, with occasional bursts of multiple versions in a single month. The release frequency slowed down 2023, and while there were 2 releases in July 2025, there haven't been any releases in August 2025.
Follow-redirects npm package downloads show significant growth from February 2024 to July 2025, peaking at 251 million. August 2025 downloads are significantly lower (101 million), but this is a partial month's data. Overall, the package exhibits a strong upward trend in popularity and usage.