basic proxy ip detection test tool
This commit is contained in:
commit
d3cff15545
15 changed files with 1075 additions and 0 deletions
25
package.json
Normal file
25
package.json
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"name": "proxy-detection-api",
|
||||
"version": "1.0.0",
|
||||
"main": "src/index.ts",
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest",
|
||||
"@types/node": "^22.15.30",
|
||||
"typescript": "^5.8.3"
|
||||
},
|
||||
"description": "Simple API to detect if IP is exposed when using a proxy",
|
||||
"scripts": {
|
||||
"dev": "bun run --watch src/index.ts",
|
||||
"start": "bun run src/index.ts",
|
||||
"build": "bun build src/index.ts --outdir ./dist --target bun",
|
||||
"test": "echo \"No tests specified yet\" && exit 0",
|
||||
"docker:build": "docker build -t proxy-detection-api .",
|
||||
"docker:run": "docker run -p 9999:9999 proxy-detection-api",
|
||||
"docker:dev": "docker-compose up --build",
|
||||
"docker:prod": "docker-compose --profile production up -d"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fastify/cors": "^11.0.1",
|
||||
"fastify": "^5.3.3"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue