JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 34368883
  • Score
    100M100P100Q236955F
  • License MIT

Determine address of proxied request

Package Exports

  • proxy-addr

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (proxy-addr) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

proxy-addr Build Status NPM version

Determine address of proxied request

Install

npm install proxy-addr

API

var proxyaddr = require('proxy-addr');

proxyaddr(req)

Return the address of the request. This returns the furthest-away address.

proxyaddr.all(req)

Return all the addresses of the request. This array is ordered from closest to furthest (i.e. arr[0] === req.connection.remoteAddress).

License

MIT