ahmadnassri/forwarded-http

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "version": "0.3.0",
  "name": "forwarded-http",
  "description": "Resolves RFC 7239 / Forwarded HTTP Extension, with fallback to all legacy & special Forward headers: `X-Forwarded-*`, `X-Real-*` and others",
  "author": "Ahmad Nassri <ahmad@ahmadnassri.com> (https://www.ahmadnassri.com/)",
  "homepage": "https://github.com/ahmadnassri/forwarded-http",
  "repository": "ahmadnassri/forwarded-http",
  "license": "MIT",
  "main": "lib/index.js",
  "keywords": [
    "cf-visitor",
    "front-end-https",
    "http",
    "https",
    "protocol",
    "x-forwarded-for",
    "x-forwarded-proto",
    "x-forwarded-protocol",
    "x-forwarded-ssl",
    "x-url-scheme"
  ],
  "engines": {
    "node": ">= 4"
  },
  "files": [
    "LICENSE.md",
    "README.md",
    "lib"
  ],
  "bugs": {
    "url": "https://github.com/ahmadnassri/forwarded-http/issues"
  },
  "scripts": {
    "pretest": "standard && echint",
    "test": "mocha",
    "posttest": "npm run coverage",
    "coverage": "istanbul cover --dir coverage _mocha -- -R dot",
    "codeclimate": "codeclimate-test-reporter < coverage/lcov.info"
  },
  "echint": {
    "ignore": [
      "coverage/**"
    ]
  },
  "devDependencies": {
    "codeclimate-test-reporter": "0.4.0",
    "echint": "^2.0.0",
    "istanbul": "^0.4.2",
    "mocha": "^6.0.0",
    "should": "^11.0.0",
    "standard": "^12.0.0"
  },
  "dependencies": {
    "commander": "^2.9.0",
    "debug": "^4.0.0",
    "ip": "^1.1.2",
    "ip-filter": "^2.0.0",
    "ip-port-regex": "^2.0.0"
  }
}