get-client-ip
Version:
📍 A Lightweight Utility for Extracting the Real Client IP Address from Incoming HTTP Requests
69 lines (68 loc) • 1.51 kB
JSON
{
"name": "get-client-ip",
"version": "3.0.3",
"description": "📍 A Lightweight Utility for Extracting the Real Client IP Address from Incoming HTTP Requests",
"homepage": "https://github.com/WolfieLeader/npm/tree/main/packages/get-client-ip#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/WolfieLeader/npm.git",
"directory": "packages/get-client-ip"
},
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"typesVersions": {
"*": {
"*": [
"./dist/index.d.ts"
]
}
},
"files": [
"dist"
],
"sideEffects": false,
"scripts": {
"build": "tsup",
"prepare": "npm run build",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"express": ">=4.21.0"
},
"peerDependenciesMeta": {
"express": {
"optional": true
}
},
"devDependencies": {
"@types/express": "^5.0.3",
"@types/node": "^24.2.0",
"tsup": "^8.5.0",
"typescript": "^5.9.2"
},
"author": "WolfieLeader",
"license": "MIT",
"keywords": [
"ip",
"express",
"nestjs",
"server",
"backend",
"middleware",
"http"
]
}