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
Categories
Package ManagersLicense
MIT LicenseFollow request-ip
Other Useful Business Software
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of request-ip!