File size: 1,163 Bytes
23ac194
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
  "name": "@fastify/proxy-addr",
  "description": "Determine address of proxied request",
  "version": "5.0.0",
  "main": "index.js",
  "type": "commonjs",
  "types": "types/index.d.ts",
  "author": "Douglas Christopher Wilson <doug@somethingdoug.com>",
  "license": "MIT",
  "keywords": [
    "ip",
    "proxy",
    "x-forwarded-for"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/fastify/proxy-addr.git"
  },
  "bugs": {
    "url": "https://github.com/fastify/proxy-addr/issues"
  },
  "homepage": "https://github.com/fastify/proxy-addr#readme",
  "dependencies": {
    "@fastify/forwarded": "^3.0.0",
    "ipaddr.js": "^2.1.0"
  },
  "devDependencies": {
    "@fastify/pre-commit": "^2.1.0",
    "@types/node": "^22.0.0",
    "beautify-benchmark": "0.2.4",
    "benchmark": "2.1.4",
    "c8": "^7.14.0",
    "standard": "^17.1.0",
    "tape": "^5.7.5",
    "tsd": "^0.31.0"
  },
  "scripts": {
    "bench": "node benchmark/index.js",
    "lint": "standard",
    "lint:fix": "standard --fix",
    "test": "npm run test:unit && npm run test:typescript",
    "test:typescript": "tsd",
    "test:unit": "c8 tape test/**/*.js"
  }
}