request-ip is a Node.js middleware and utility that retrieves the IP address of a client making a request. It works with different server frameworks like Express, Koa, and Hapi, and supports various request sources.

Features

  • Extracts client IP addresses from HTTP requests
  • Works with Express, Koa, and other frameworks for easy integration
  • Supports IPv4 and IPv6 for comprehensive coverage
  • Handles proxy headers like X-Forwarded-For and CF-Connecting-IP
  • Lightweight and efficient with minimal dependencies
  • Can be used as middleware or standalone function for flexibility

Project Samples

Project Activity

See All Activity >

Categories

Package Managers

License

MIT License

Follow request-ip

request-ip Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of request-ip!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Package Managers

Registered

2025-02-27