proxy-addr smartly determines the address of the client connecting to your Node.js server through a reverse proxy. It analyzes the X-Forwarded-For and related headers, taking into account trusted proxies you configure. The package offers configurable trust settings, supporting IP addresses, CIDR notations, and functions for custom trust evaluation. This helps accurately identify the client's IP, crucial for tasks like rate limiting, security, and geolocation, even behind complex proxy setups.
The npm package proxy-addr has had sporadic releases. Initial development was active in 2014-2015. There were bursts of releases in May 2016 and a few releases throughout 2017. After February 2020, there was only one release in June 2021. There have been no releases since then, as of August 2025.
Proxy-addr npm package downloads surged significantly from February 2024 to July 2025, peaking at over 170 million. After a slow start in 2024, downloads consistently surpassed 100 million monthly. August 2025 shows a lower number, but the month is still in progress.