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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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