{"_id":"httpxy","_rev":"22-c66d6f1383f8f82a9879e548ea47938f","name":"httpxy","dist-tags":{"latest":"0.5.5"},"versions":{"0.0.0":{"name":"httpxy","version":"0.0.0","_id":"httpxy@0.0.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"dist":{"shasum":"d4458b585fc3d7986e34a9e6e8cae5d625fbca9a","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.0.0.tgz","fileCount":1,"integrity":"sha512-Ql9Yy90zF8psxjDZJhiXPcjouP5ISeROgjQHcpEkgFQi43vMetzTslEXjntWh+x9adYeDzqRa5bYL5+hIogItQ==","signatures":[{"sig":"MEYCIQCjx5U5InPXh2T9tnZXBRqARVzwaFILNDSEjyTcrN/+pAIhAOs5gKKlzvQy0muUVA7UPnC9hIO9+ERZNWPCo11EMEe+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"_npmVersion":"9.5.1","directories":{},"_nodeVersion":"18.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.0.0_1692623572652_0.20681013168714468","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"httpxy","version":"0.1.0","license":"MIT","_id":"httpxy@0.1.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"e461f3e2a3723568d87aacd5e1e077243fffecf0","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.1.0.tgz","fileCount":8,"integrity":"sha512-xLlTxZ9Odw1Kw80aODYOArYJ0SynACVM6HbxSAXOv6icsEoNbsmQ4w0LhT4sdrNvCJJF9oSA2GwrrfHJKPx58w==","signatures":[{"sig":"MEQCICjjsfXDWWAlQMP4JXj7P3sQJevykMZbv4QOpB7A5K1mAiA8+ggpFUPDJbIcwJ+l2NTwlLgX4qixLFD88xrOIZiCoA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55564},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"dev":"vitest","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","play":"jiti ./playground","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","test:types":"tsc --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"9.5.1","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","_hasShrinkwrap":false,"packageManager":"pnpm@8.6.12","devDependencies":{"jiti":"^1.19.3","eslint":"^8.46.0","ofetch":"^1.1.1","vitest":"^0.34.1","listhen":"^1.3.0","unbuild":"^2.0.0-rc.0","prettier":"^3.0.1","typescript":"^5.1.6","@types/node":"^20.5.1","changelogen":"^0.5.4","eslint-config-unjs":"^0.2.1","@vitest/coverage-v8":"^0.34.1"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.1.0_1692633208449_0.6682559856526464","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"httpxy","version":"0.1.1","license":"MIT","_id":"httpxy@0.1.1","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"d3d3a05835fa1b1f12e9214e5c946b2c75c9116b","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.1.1.tgz","fileCount":8,"integrity":"sha512-dYx6Onf6/BrzaHhUKo02IrzWYskol6Atj2GtDOsch4jKk2mmP4N3NuX0VhJ8bnNNFSyMgb1sBgR25fCAxTh5Gg==","signatures":[{"sig":"MEUCIQC1vtorl95KTvPz/EXrHQ9mML80McN7XuARVda9atY8XwIgBtsD5If0xI1vZgqfar3L0JDyRQuaeZo1N5SyxEVIjjk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56415},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"c3fa9ce80a16c3d7a5b93a7012325bd0129aa444","scripts":{"dev":"vitest","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","play":"jiti ./playground","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","test:types":"tsc --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"9.5.1","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"packageManager":"pnpm@8.6.12","devDependencies":{"jiti":"^1.19.3","eslint":"^8.47.0","ofetch":"^1.2.1","vitest":"^0.34.2","listhen":"^1.4.0","unbuild":"^2.0.0","prettier":"^3.0.2","typescript":"^5.1.6","@types/node":"^20.5.3","changelogen":"^0.5.5","eslint-config-unjs":"^0.2.1","@vitest/coverage-v8":"^0.34.2"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.1.1_1692753476442_0.9447857335111078","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"httpxy","version":"0.1.2","license":"MIT","_id":"httpxy@0.1.2","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"7ece5be85ba4cfb34c6ad73189e2dd35f93b987e","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.1.2.tgz","fileCount":8,"integrity":"sha512-8IldwriN7eS7Pe1pPRE6L7S1LW551lBJ3N9oI4HLYGZTXl2JBkdINEi+mDZwhwykw1OBVI2li3zhPSi7r1N8lQ==","signatures":[{"sig":"MEUCICrG2t9pzmwnzI3U9K6hbQpV9A3SrsoToWm5taUj1WyBAiEAsS7CMeFqSSMF9zplKjlXHfufTFccc6iqqmNKzIQL1D8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56497},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"b6bd4a8cea4afae8eae16f06397785da08823179","scripts":{"dev":"vitest","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","play":"jiti ./playground","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","test:types":"tsc --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"9.5.1","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"packageManager":"pnpm@8.6.12","devDependencies":{"jiti":"^1.19.3","eslint":"^8.47.0","ofetch":"^1.2.1","vitest":"^0.34.2","listhen":"^1.4.0","unbuild":"^2.0.0","prettier":"^3.0.2","typescript":"^5.1.6","@types/node":"^20.5.3","changelogen":"^0.5.5","eslint-config-unjs":"^0.2.1","@vitest/coverage-v8":"^0.34.2"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.1.2_1692754241883_0.7606290879941737","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"httpxy","version":"0.1.3","license":"MIT","_id":"httpxy@0.1.3","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"7a89a596f3afd291f92b79f48e40d38887f60b40","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.1.3.tgz","fileCount":8,"integrity":"sha512-mBDNpCvQFbaU59/oMX0/Bgm0FNJr9AyO26JctTmkDk4GaMNl6h89cqpGqT08kl3/eTt0/Zy53NsQ3yl0A5jW3A==","signatures":[{"sig":"MEUCICSwwHJ0aOWXXJpXkjzImZSZ5UtatHUT5egHowmgOAaSAiEAtgLcMo1FG8CeXUQ/a/wa4me0EQIQcGVkaS9XRNQrJAk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56525},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"13dd227a8e607ab57b2f1056fe3d8f7d82d7612a","scripts":{"dev":"vitest","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","play":"jiti ./playground","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","test:types":"tsc --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"9.5.1","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"packageManager":"pnpm@8.6.12","devDependencies":{"jiti":"^1.19.3","eslint":"^8.48.0","ofetch":"^1.3.3","vitest":"^0.34.3","listhen":"^1.4.0","unbuild":"^2.0.0","prettier":"^3.0.2","typescript":"^5.2.2","@types/node":"^20.5.6","changelogen":"^0.5.5","eslint-config-unjs":"^0.2.1","@vitest/coverage-v8":"^0.34.3"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.1.3_1693078608483_0.42865160901695054","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"httpxy","version":"0.1.4","license":"MIT","_id":"httpxy@0.1.4","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"78e4d7c81a4dea03e313278e9474430cf3931c93","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.1.4.tgz","fileCount":8,"integrity":"sha512-ArXKNWhU5taozl6fFnu01M9HiInAqSOw4mUp+7DY/zbTHPmS8JBqH0IC3VLovRBd9b8ZE03ztemcxzeWT6pCoA==","signatures":[{"sig":"MEUCIQCCEctyle/NhQq/POnL5AKD2sBsjbhaANPwlGQvocvmDgIgOG1RdlFDzJ3eeIc4uOJHwwYZB2J5rr6FQg033hCZxNU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56563},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"f8cde141ece42e5a8d243a2963d6644ba3f83212","scripts":{"dev":"vitest","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","play":"jiti ./playground","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","test:types":"tsc --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"9.5.1","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"packageManager":"pnpm@8.6.12","devDependencies":{"jiti":"^1.19.3","eslint":"^8.48.0","ofetch":"^1.3.3","vitest":"^0.34.3","listhen":"^1.4.0","unbuild":"^2.0.0","prettier":"^3.0.2","typescript":"^5.2.2","@types/node":"^20.5.6","changelogen":"^0.5.5","eslint-config-unjs":"^0.2.1","@vitest/coverage-v8":"^0.34.3"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.1.4_1693078682768_0.7139686020071805","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"httpxy","version":"0.1.5","license":"MIT","_id":"httpxy@0.1.5","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"fd2401206e0b5d919aeda25e967ece0f1a6c8569","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.1.5.tgz","fileCount":8,"integrity":"sha512-hqLDO+rfststuyEUTWObQK6zHEEmZ/kaIP2/zclGGZn6X8h/ESTWg+WKecQ/e5k4nPswjzZD+q2VqZIbr15CoQ==","signatures":[{"sig":"MEUCIQCiW07axW3aGZNPJqTk9Ne3yBwIrgujlB4NxJn6kYh5RgIgRwZ9GCuUIpTWFw7Rs/Ih4ArbTVLDYYj39hfsmJabmlM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56720},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"8532771ba5a24f8478a46d8899af6d7986799e6b","scripts":{"dev":"vitest","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","play":"jiti ./playground","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","test:types":"tsc --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"9.5.1","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"packageManager":"pnpm@8.7.4","devDependencies":{"jiti":"^1.20.0","eslint":"^8.49.0","ofetch":"^1.3.3","vitest":"^0.34.4","listhen":"^1.5.0","unbuild":"^2.0.0","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.6.0","changelogen":"^0.5.5","eslint-config-unjs":"^0.2.1","@vitest/coverage-v8":"^0.34.4"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.1.5_1694215810735_0.48814113106153423","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"httpxy","version":"0.1.6","license":"MIT","_id":"httpxy@0.1.6","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"74a11e435bbcd6ff712763d6de9372659f7f08f8","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.1.6.tgz","fileCount":8,"integrity":"sha512-GxJLI6oJZ3NbJl/vDlPmTCtP4WHwboNhGLHOcgf/3ia1QC5sdLglWbRHZwQjzjPuiCyw7MWwpwbsUfRDQlOdeg==","signatures":[{"sig":"MEQCIFGFsYrS36gTCMbVpWiWZt0ZILP1LKN37SFN99H6nUrrAiAomJc7WnFk0ITnrLkZ8IgtT0V/Gckza9o0PRpIIFalsQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56398},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"0a09b6790815c76b8f4db73b51740f41de22e032","scripts":{"dev":"vitest","lint":"eslint --cache . && prettier -c src test","play":"jiti ./playground","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache . --fix && prettier -c src test -w","test:types":"tsc --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"10.9.0","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.15.4","devDependencies":{"jiti":"^2.4.2","eslint":"^9.18.0","ofetch":"^1.4.1","vitest":"^2.1.8","listhen":"^1.9.0","unbuild":"^3.3.1","prettier":"^3.4.2","typescript":"^5.7.3","@types/node":"^22.10.6","changelogen":"^0.5.7","eslint-config-unjs":"^0.4.2","@vitest/coverage-v8":"^2.1.8"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.1.6_1736861136796_0.6436513696014221","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"httpxy","version":"0.1.7","license":"MIT","_id":"httpxy@0.1.7","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"02d02e57eda10e8b5c0e3f9f10860e3d7a5991a4","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.1.7.tgz","fileCount":8,"integrity":"sha512-pXNx8gnANKAndgga5ahefxc++tJvNL87CXoRwxn1cJE2ZkWEojF3tNfQIEhZX/vfpt+wzeAzpUI4qkediX1MLQ==","signatures":[{"sig":"MEUCIC4562P3tnxgzq2DGRWauuQ46l2WJMsjHb/HW61U9g7/AiEAgAlS3OlJ4GegCBU0WsiVo8XhVk500xCPAVIZpSBtzGY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56519},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"7e0577dd16690409c89c1155082813c0c0847dd6","scripts":{"dev":"vitest","lint":"eslint --cache . && prettier -c src test","play":"jiti ./playground","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache . --fix && prettier -c src test -w","test:types":"tsc --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"10.9.2","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"22.13.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.15.4","devDependencies":{"jiti":"^2.4.2","eslint":"^9.19.0","ofetch":"^1.4.1","vitest":"^3.0.4","listhen":"^1.9.0","unbuild":"^3.3.1","prettier":"^3.4.2","typescript":"^5.7.3","@types/node":"^22.10.10","changelogen":"^0.5.7","eslint-config-unjs":"^0.4.2","@vitest/coverage-v8":"^3.0.4"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.1.7_1737998230085_0.9027160939467931","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"httpxy","version":"0.2.0","license":"MIT","_id":"httpxy@0.2.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"518bd571609c3c0e01359a89dc0903929d4bb2c3","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.2.0.tgz","fileCount":8,"integrity":"sha512-lEbPz8NkT03n6Wmj3KiHbAh1TbmmHBx2/aohtfbQLhXEDONV0DBSBV10WD/rcK67GcAIjciMBAEYWwb0JoWcNg==","signatures":[{"sig":"MEYCIQCMMCDlEC2J+P6/TEPGfGbcFZB2/0yAY3w9+1UGhKC9cgIhAIMfkh4OxLzbWn2Srt8TJ7ezTy8p4f9RZYitKN2DwZtp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62490},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"707db4310f10e76c4a811210fd0f85c506da804e","scripts":{"dev":"vitest","lint":"oxlint . && oxfmt --check src test","play":"jiti ./playground","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"oxlint . --fix && oxfmt src test","test:types":"tsgo --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"11.6.2","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"packageManager":"pnpm@10.29.2","devDependencies":{"ws":"^8.19.0","sse":"^0.0.8","jiti":"^2.6.1","async":"^3.2.6","oxfmt":"^0.28.0","ofetch":"^1.5.1","oxlint":"^1.43.0","semver":"^7.7.4","vitest":"^4.0.18","listhen":"^1.9.0","unbuild":"^3.6.1","@types/ws":"^8.18.1","expect.js":"^0.3.1","socket.io":"^4.8.3","@types/sse":"^0.0.0","typescript":"^5.9.3","@types/node":"^25.2.2","changelogen":"^0.6.2","@types/async":"^3.2.25","concat-stream":"^2.0.0","socket.io-client":"^4.8.3","eslint-config-unjs":"^0.6.2","@vitest/coverage-v8":"^4.0.18","@types/concat-stream":"^2.0.3","@typescript/native-preview":"7.0.0-dev.20260209.1"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.2.0_1770634780640_0.5301783977546053","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"httpxy","version":"0.2.1","license":"MIT","_id":"httpxy@0.2.1","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"2ca50930c9824afb888936bbccc8c20dcbb64bf9","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.2.1.tgz","fileCount":3,"integrity":"sha512-QjfTE5j3QMUwC26DIiMg7wGFaonx6hwEWCiON+L6ARSjs4OYgSZh3tQxanpyK6yrStDe/ECUQ/Sv/LWxtdnb8w==","signatures":[{"sig":"MEYCIQCPajrVnplr37jcMFjIgo97pPVoCFNvJ+TF2qbkQcQzFwIhAMIa7mGBKDMVpcGF74zpg8Ps3lasHranUfhiPL7aUtB6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6113},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"d0b8b4b4b6771feaa57380e68c0f0f785ee16ba3","scripts":{"dev":"vitest","lint":"oxlint . && oxfmt --check src test","play":"jiti ./playground","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"oxlint . --fix && oxfmt src test","test:types":"tsgo --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"deprecated":"broken dist please upgrade to 0.2.2+","repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"11.6.1","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"packageManager":"pnpm@10.29.2","devDependencies":{"ws":"^8.19.0","sse":"^0.0.8","jiti":"^2.6.1","async":"^3.2.6","oxfmt":"^0.31.0","ofetch":"^1.5.1","oxlint":"^1.46.0","semver":"^7.7.4","vitest":"^4.0.18","listhen":"^1.9.0","unbuild":"^3.6.1","@types/ws":"^8.18.1","expect.js":"^0.3.1","socket.io":"^4.8.3","@types/sse":"^0.0.0","typescript":"^5.9.3","@types/node":"^25.2.3","changelogen":"^0.6.2","@types/async":"^3.2.25","concat-stream":"^2.0.0","@types/express":"^5.0.6","socket.io-client":"^4.8.3","eslint-config-unjs":"^0.6.2","@vitest/coverage-v8":"^4.0.18","@types/concat-stream":"^2.0.3","@typescript/native-preview":"^7.0.0-dev.20260210.1"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.2.1_1770755290429_0.9708143314979283","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"httpxy","version":"0.2.2","license":"MIT","_id":"httpxy@0.2.2","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"1603165cfd12087f2039c4a8532ce61eab5d84e5","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.2.2.tgz","fileCount":8,"integrity":"sha512-QnS6mAOqvdmfctFaD/Kp5cwRMcaUhEmIyw2rjVYnhJb8EuAyd/79biT/50HUTKvq/PwoXYTP6J3d9TUxzHFZwA==","signatures":[{"sig":"MEYCIQDyeNwPrT1OTjr+Yc+hQkzYVT4DLYqVPQmhBjgWpGGUIQIhAJFUYy4VbeOmRyVBjhi9EiUjUOv0hQTy4tG2cfdL4j3G","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61730},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"32d2f0ec36d8231d28a42c8a6c76de9cc9e4347d","scripts":{"dev":"vitest","lint":"oxlint . && oxfmt --check src test","play":"jiti ./playground","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm run build","release":"pnpm test && pnpm build && changelogen --release && npm publish && git push --follow-tags","lint:fix":"oxlint . --fix && oxfmt src test","test:types":"tsgo --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"11.6.1","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"packageManager":"pnpm@10.29.2","devDependencies":{"ws":"^8.19.0","sse":"^0.0.8","jiti":"^2.6.1","async":"^3.2.6","oxfmt":"^0.31.0","ofetch":"^1.5.1","oxlint":"^1.46.0","semver":"^7.7.4","vitest":"^4.0.18","listhen":"^1.9.0","unbuild":"^3.6.1","@types/ws":"^8.18.1","expect.js":"^0.3.1","socket.io":"^4.8.3","@types/sse":"^0.0.0","typescript":"^5.9.3","@types/node":"^25.2.3","changelogen":"^0.6.2","@types/async":"^3.2.25","concat-stream":"^2.0.0","@types/express":"^5.0.6","socket.io-client":"^4.8.3","eslint-config-unjs":"^0.6.2","@vitest/coverage-v8":"^4.0.18","@types/concat-stream":"^2.0.3","@typescript/native-preview":"^7.0.0-dev.20260210.1"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.2.2_1770830591151_0.24191515993676682","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"httpxy","version":"0.3.0","license":"MIT","_id":"httpxy@0.3.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"0980aba390b4ee4b5aa9554e3deeacfa6df5f85a","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.3.0.tgz","fileCount":8,"integrity":"sha512-9SDNHQJWnid8KPHdyzDNUcS3O3p8c/3hNKREqCIpKNw0axwgYzprwEbYrBwTh28En1C+5fbiiJfuHsH8+IfhPA==","signatures":[{"sig":"MEQCIDsV0JqFbs0dQ9+YsS271H3Ag7lk6HCe8PmulvaNnUbBAiAaRMe8kdPXX9mJuMlZF/2mU9E8tNoMihJE+tGnQznN3g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85074},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"00d8214933cf7acd7050cd857933dbcc21e10538","scripts":{"dev":"vitest","fmt":"oxlint . --fix && oxfmt","lint":"oxlint . && oxfmt --check","test":"pnpm lint && pnpm typecheck && vitest run --coverage","build":"unbuild","prepack":"pnpm run build","release":"pnpm test && pnpm build && changelogen --release && npm publish && git push --follow-tags","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"11.6.2","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"packageManager":"pnpm@10.29.3","devDependencies":{"ws":"^8.19.0","sse":"^0.0.8","async":"^3.2.6","oxfmt":"^0.32.0","ofetch":"^1.5.1","oxlint":"^1.47.0","semver":"^7.7.4","vitest":"^4.0.18","unbuild":"^3.6.1","@types/ws":"^8.18.1","expect.js":"^0.3.1","socket.io":"^4.8.3","@types/sse":"^0.0.0","typescript":"^5.9.3","@types/node":"^25.2.3","changelogen":"^0.6.2","@types/async":"^3.2.25","@types/semver":"^7.7.1","concat-stream":"^2.0.0","@types/express":"^5.0.6","socket.io-client":"^4.8.3","eslint-config-unjs":"^0.6.2","@vitest/coverage-v8":"^4.0.18","@types/concat-stream":"^2.0.3","@typescript/native-preview":"^7.0.0-dev.20260212.1"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.3.0_1770936811134_0.9753523155225199","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"httpxy","version":"0.3.1","license":"MIT","_id":"httpxy@0.3.1","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"da1bb1a4a26cb44d7835a9297c845a0e06372083","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.3.1.tgz","fileCount":8,"integrity":"sha512-XjG/CEoofEisMrnFr0D6U6xOZ4mRfnwcYQ9qvvnT4lvnX8BoeA3x3WofB75D+vZwpaobFVkBIHrZzoK40w8XSw==","signatures":[{"sig":"MEUCIAw/IpjOrP8dlsz8opSchQ77Xv/jv9uCQv4Jw/J4SI1nAiEAyqmiCe24yi4xGbkuVz85BnF3md6gufZ+uaLvfUmJB7A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":101601},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"4b03756d3e7c1ad1ae9874475bdb56d2ea7e6dba","scripts":{"dev":"vitest","fmt":"oxlint . --fix && oxfmt","lint":"oxlint . && oxfmt --check","test":"pnpm lint && pnpm typecheck && vitest run --coverage","build":"unbuild","prepack":"pnpm run build","release":"pnpm test && pnpm build && changelogen --release && npm publish && git push --follow-tags","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"11.6.2","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"packageManager":"pnpm@10.30.0","devDependencies":{"ws":"^8.19.0","sse":"^0.0.8","async":"^3.2.6","oxfmt":"^0.33.0","ofetch":"^1.5.1","oxlint":"^1.48.0","semver":"^7.7.4","vitest":"^4.0.18","unbuild":"^3.6.1","@types/ws":"^8.18.1","expect.js":"^0.3.1","socket.io":"^4.8.3","@types/sse":"^0.0.0","typescript":"^5.9.3","@types/node":"^25.2.3","changelogen":"^0.6.2","@types/async":"^3.2.25","@types/semver":"^7.7.1","concat-stream":"^2.0.0","@types/express":"^5.0.6","socket.io-client":"^4.8.3","eslint-config-unjs":"^0.6.2","@vitest/coverage-v8":"^4.0.18","@types/concat-stream":"^2.0.3","@typescript/native-preview":"^7.0.0-dev.20260218.1"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.3.1_1771442128229_0.3076782195959007","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"httpxy","version":"0.4.0","license":"MIT","_id":"httpxy@0.4.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"af133bedc1413044f5701e145e75c5e65ee4614e","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.4.0.tgz","fileCount":5,"integrity":"sha512-jjU2ZCVOH0X+ih86Oj2b8C4ufnjD4bfrs/DU/SKAc/WoLgKtIihjQlKUs4Wie74Cmd1eZwsECFBv/E2QUGP8zQ==","signatures":[{"sig":"MEUCIQDuuaeh04JdUhxfYz+TrkzISlv44fBY3b60dbCYrSYNcAIgHDZL//OEEipnN4g0TBw+kdEoUtAc1n9lECkM1XGyN/k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61375},"type":"module","types":"./dist/index.d.mts","exports":{".":"./dist/index.mjs"},"gitHead":"d54346c95f341bb060844e0f641e84fffec8c172","scripts":{"dev":"vitest","fmt":"oxlint . --fix && oxfmt","lint":"oxlint . && oxfmt --check","test":"pnpm lint && pnpm typecheck && vitest run --coverage","build":"obuild","prepack":"pnpm run build","release":"pnpm test && pnpm build && changelogen --release && npm publish && git push --follow-tags","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"11.6.2","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"packageManager":"pnpm@10.33.0","devDependencies":{"ws":"^8.20.0","sse":"^0.0.8","async":"^3.2.6","oxfmt":"^0.42.0","obuild":"^0.4.32","ofetch":"^1.5.1","oxlint":"^1.57.0","semver":"^7.7.4","undici":"^7.24.6","vitest":"^4.1.1","@types/ws":"^8.18.1","expect.js":"^0.3.1","socket.io":"^4.8.3","@types/sse":"^0.0.0","typescript":"^6.0.2","@types/node":"^25.5.0","changelogen":"^0.6.2","@types/async":"^3.2.25","@types/semver":"^7.7.1","concat-stream":"^2.0.0","@types/express":"^5.0.6","socket.io-client":"^4.8.3","eslint-config-unjs":"^0.6.2","@vitest/coverage-v8":"^4.1.1","@types/concat-stream":"^2.0.3","@typescript/native-preview":"^7.0.0-dev.20260325.1"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.4.0_1774471692052_0.9795325598020106","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"httpxy","version":"0.5.0","license":"MIT","_id":"httpxy@0.5.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"a9c53543760dee498611827a464e56e14639c0d0","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.5.0.tgz","fileCount":5,"integrity":"sha512-qwX7QX/rK2visT10/b7bSeZWQOMlSm3svTD0pZpU+vJjNUP0YHtNv4c3z+MO+MSnGuRFWJFdCZiV+7F7dXIOzg==","signatures":[{"sig":"MEYCIQDRD92kup/KC+kVxTWn2D+l4SC6uQRITigxFMeZp9K0iAIhAIjy4f+4d8/m/pV2VeWSjromz6ZDP7u1rhGYs2CGourr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63095},"type":"module","types":"./dist/index.d.mts","exports":{".":"./dist/index.mjs"},"gitHead":"4e1db50fb65313675434cfe56aed2927ebf0aed5","scripts":{"dev":"vitest","fmt":"oxlint . --fix && oxfmt","lint":"oxlint . && oxfmt --check","test":"pnpm lint && pnpm typecheck && vitest run --coverage","build":"obuild","prepack":"pnpm run build","release":"pnpm test && pnpm build && changelogen --release && npm publish && git push --follow-tags","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"11.6.2","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"packageManager":"pnpm@10.33.0","devDependencies":{"ws":"^8.20.0","sse":"^0.0.8","async":"^3.2.6","oxfmt":"^0.42.0","obuild":"^0.4.32","ofetch":"^1.5.1","oxlint":"^1.57.0","semver":"^7.7.4","undici":"^7.24.6","vitest":"^4.1.1","@types/ws":"^8.18.1","expect.js":"^0.3.1","socket.io":"^4.8.3","@types/sse":"^0.0.0","typescript":"^6.0.2","@types/node":"^25.5.0","changelogen":"^0.6.2","@types/async":"^3.2.25","@types/semver":"^7.7.1","concat-stream":"^2.0.0","@types/express":"^5.0.6","socket.io-client":"^4.8.3","eslint-config-unjs":"^0.6.2","@vitest/coverage-v8":"^4.1.1","@types/concat-stream":"^2.0.3","@typescript/native-preview":"^7.0.0-dev.20260325.1"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.5.0_1774521304012_0.08873896920924351","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"httpxy","version":"0.5.1","license":"MIT","_id":"httpxy@0.5.1","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"c0cccd78672995968eee57666c3e3cfa822c2806","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.5.1.tgz","fileCount":5,"integrity":"sha512-JPhqYiixe1A1I+MXDewWDZqeudBGU8Q9jCHYN8ML+779RQzLjTi78HBvWz4jMxUD6h2/vUL12g4q/mFM0OUw1A==","signatures":[{"sig":"MEQCIDtEpFa9jbon1qSJoqDC2I254f/JKjwsFpnzCo2pG5rIAiBeTc3Oo+C66bhCStNIvMmQ68sI+8OENUVjr8xz2KrImg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58742},"type":"module","types":"./dist/index.d.mts","exports":{".":"./dist/index.mjs"},"gitHead":"9dc2425ecb48e8a53c5177f0c2117d5bf2f2827f","scripts":{"dev":"vitest","fmt":"oxlint . --fix && oxfmt","lint":"oxlint . && oxfmt --check","test":"pnpm lint && pnpm typecheck && vitest run --coverage","build":"obuild","prepack":"pnpm run build","release":"pnpm test && pnpm build && changelogen --release && npm publish && git push --follow-tags","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"11.6.1","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"packageManager":"pnpm@10.33.0","devDependencies":{"ws":"^8.20.0","sse":"^0.0.8","async":"^3.2.6","oxfmt":"^0.46.0","obuild":"^0.4.33","ofetch":"^1.5.1","oxlint":"^1.61.0","semver":"^7.7.4","undici":"^8.1.0","vitest":"^4.1.5","@types/ws":"^8.18.1","expect.js":"^0.3.1","socket.io":"^4.8.3","@types/sse":"^0.0.0","typescript":"^6.0.3","@types/node":"^25.6.0","changelogen":"^0.6.2","@types/async":"^3.2.25","@types/semver":"^7.7.1","concat-stream":"^2.0.0","@types/express":"^5.0.6","socket.io-client":"^4.8.3","eslint-config-unjs":"^0.6.2","@vitest/coverage-v8":"^4.1.5","@types/concat-stream":"^2.0.3","@typescript/native-preview":"^7.0.0-dev.20260421.1"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.5.1_1776863635922_0.8497055750651585","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"httpxy","version":"0.5.2","license":"MIT","_id":"httpxy@0.5.2","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"b756cd1698b9838106de29775f96ff2b55d79777","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.5.2.tgz","fileCount":5,"integrity":"sha512-C5OM92bmywDDdKTuYCGejdNFAb/zy0LX4srimOudYko847HvoWL2Eeik9odh9friPKu/JrlWv4z/amrJoxq2Cg==","signatures":[{"sig":"MEYCIQDrdTdTMN/VoGqTQ57LLKE+XgCDIL6VSpgAtA4mYX82QgIhAPPi7An7o3n6EmPlbWl6v4yuYj9JUYl1G5Kf0EmlNXHN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59095},"type":"module","types":"./dist/index.d.mts","exports":{".":"./dist/index.mjs"},"gitHead":"c68013caf258df88f75fccf22197781d8ea8c6b0","scripts":{"dev":"vitest","fmt":"oxlint . --fix && oxfmt","lint":"oxlint . && oxfmt --check","test":"pnpm lint && pnpm typecheck && vitest run --coverage","build":"obuild","prepack":"pnpm run build","release":"pnpm test && pnpm build && changelogen --release && npm publish && git push --follow-tags","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"11.12.1","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"packageManager":"pnpm@11.1.3","devDependencies":{"ws":"^8.20.1","sse":"^0.0.8","async":"^3.2.6","oxfmt":"^0.50.0","obuild":"^0.4.35","ofetch":"^1.5.1","oxlint":"^1.65.0","semver":"^7.8.0","undici":"^8.3.0","vitest":"^4.1.6","@types/ws":"^8.18.1","expect.js":"^0.3.1","socket.io":"^4.8.3","@types/sse":"^0.0.0","typescript":"^6.0.3","@types/node":"^25.9.0","changelogen":"^0.6.2","@types/async":"^3.2.25","@types/semver":"^7.7.1","concat-stream":"^2.0.0","@types/express":"^5.0.6","socket.io-client":"^4.8.3","eslint-config-unjs":"^0.6.2","@vitest/coverage-v8":"^4.1.6","@types/concat-stream":"^2.0.3","@typescript/native-preview":"^7.0.0-dev.20260518.1"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.5.2_1779214082356_0.13111635228244456","host":"s3://npm-registry-packages-npm-production"}},"0.5.3":{"name":"httpxy","version":"0.5.3","license":"MIT","_id":"httpxy@0.5.3","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"e9d4d9b584ec3a2c5d46d7d87635419e780353aa","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.5.3.tgz","fileCount":5,"integrity":"sha512-SMS9V6Sn7VWaS11lYhoAr0ceoaiolTWf4jYdJn0NJhCdKMu9R2H9Fh0LBDWBHQF6HRLI1PmaePYsjanSpE5PEw==","signatures":[{"sig":"MEUCIDy3ZmfiesY+KfTUKsi6w64S9X6xZghrW5Cgjiplh69HAiEAuxkxapsA3FJbeWyyiZ/XjTI1FXI+eGEu7M7/ZhGErak=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59118},"type":"module","types":"./dist/index.d.mts","exports":{".":"./dist/index.mjs"},"gitHead":"77dcc78e3fd214b59af17e3d585781825d64f3b7","scripts":{"dev":"vitest","fmt":"oxlint . --fix && oxfmt","lint":"oxlint . && oxfmt --check","test":"pnpm lint && pnpm typecheck && vitest run --coverage","build":"obuild","prepack":"pnpm run build","release":"pnpm test && pnpm build && changelogen --release && npm publish && git push --follow-tags","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"11.12.1","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"packageManager":"pnpm@11.1.3","devDependencies":{"ws":"^8.20.1","sse":"^0.0.8","async":"^3.2.6","oxfmt":"^0.50.0","obuild":"^0.4.35","ofetch":"^1.5.1","oxlint":"^1.65.0","semver":"^7.8.0","undici":"^8.3.0","vitest":"^4.1.6","@types/ws":"^8.18.1","expect.js":"^0.3.1","socket.io":"^4.8.3","@types/sse":"^0.0.0","typescript":"^6.0.3","@types/node":"^25.9.0","changelogen":"^0.6.2","@types/async":"^3.2.25","@types/semver":"^7.7.1","concat-stream":"^2.0.0","@types/express":"^5.0.6","socket.io-client":"^4.8.3","eslint-config-unjs":"^0.6.2","@vitest/coverage-v8":"^4.1.6","@types/concat-stream":"^2.0.3","@typescript/native-preview":"^7.0.0-dev.20260518.1"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.5.3_1779311468523_0.8466085829279018","host":"s3://npm-registry-packages-npm-production"}},"0.5.4":{"name":"httpxy","version":"0.5.4","license":"MIT","_id":"httpxy@0.5.4","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/httpxy#readme","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"dist":{"shasum":"0603b73bb0f304d4d90181835a07cf62bb8c6b35","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.5.4.tgz","fileCount":5,"integrity":"sha512-URfeibL0kTH6VuIxxaJDXWQWEk8fKr+9L8MGv6CuAiNy0fGnoVhWbXBvJR1mkdsvCDUxvhX9cW60k2AhtH5s6w==","signatures":[{"sig":"MEYCIQDXktVcfyRI/FrM8mKoqeLCXTLHMJIDyzb4jad5N3ctigIhAJPNlk3nvLf44ubGE1vhcwju1D2MWkPnCLBo59i/UnbY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59366},"type":"module","types":"./dist/index.d.mts","exports":{".":"./dist/index.mjs"},"scripts":{"dev":"vitest","fmt":"oxlint . --fix && oxfmt","lint":"oxlint . && oxfmt --check","test":"pnpm lint && pnpm typecheck && vitest run --coverage","build":"obuild","prepack":"pnpm run build","release":"pnpm test && pnpm build && changelogen --release && npm publish && git push --follow-tags","typecheck":"tsgo --noEmit","test:ecosystem":"node scripts/ecosystem-test.mjs"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/httpxy.git","type":"git"},"_npmVersion":"11.16.0","description":"A full-featured HTTP proxy for Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"packageManager":"pnpm@11.1.3","devDependencies":{"ws":"^8.21.0","sse":"^0.0.8","async":"^3.2.6","oxfmt":"^0.56.0","obuild":"^0.4.37","ofetch":"^1.5.1","oxlint":"^1.71.0","semver":"^7.8.5","undici":"^8.5.0","vitest":"^4.1.9","@types/ws":"^8.18.1","expect.js":"^0.3.1","socket.io":"^4.8.3","@types/sse":"^0.0.0","typescript":"^6.0.3","@types/node":"^26.0.1","changelogen":"^0.6.2","@types/async":"^3.2.25","@types/semver":"^7.7.1","concat-stream":"^2.0.0","@types/express":"^5.0.6","socket.io-client":"^4.8.3","eslint-config-unjs":"^0.6.2","@vitest/coverage-v8":"^4.1.9","@types/concat-stream":"^2.0.3","@typescript/native-preview":"latest"},"_npmOperationalInternal":{"tmp":"tmp/httpxy_0.5.4_1782810222186_0.9357034727650799","host":"s3://npm-registry-packages-npm-production"}},"0.5.5":{"name":"httpxy","version":"0.5.5","description":"A full-featured HTTP proxy for Node.js.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/unjs/httpxy.git"},"type":"module","sideEffects":false,"types":"./dist/index.d.mts","exports":{".":"./dist/index.mjs"},"scripts":{"bench":"node bench/bench.ts","bench:standalone":"node bench/standalone.ts","build":"obuild","dev":"vitest","test:ecosystem":"node scripts/ecosystem-test.mjs","lint":"oxlint . && oxfmt --check","fmt":"oxlint . --fix && oxfmt","prepack":"pnpm run build","release":"pnpm test && pnpm build && changelogen --release && npm publish && git push --follow-tags","test":"pnpm lint && pnpm typecheck && vitest run --coverage","typecheck":"tsgo --noEmit"},"devDependencies":{"@types/async":"^3.2.25","@types/concat-stream":"^2.0.3","@types/express":"^5.0.6","@types/node":"^26.1.0","@types/semver":"^7.7.1","@types/sse":"^0.0.0","@types/ws":"^8.18.1","@typescript/native-preview":"latest","@vitest/coverage-v8":"^4.1.10","async":"^3.2.6","changelogen":"^0.6.2","concat-stream":"^2.0.0","eslint-config-unjs":"^0.6.2","expect.js":"^0.3.1","obuild":"^0.4.37","ofetch":"^1.5.1","oxfmt":">=0.57.0","oxlint":"^1.72.0","semver":"^7.8.5","socket.io":"^4.8.3","socket.io-client":"^4.8.3","sse":"^0.0.8","typescript":"^6.0.3","undici":"^8.7.0","vitest":"^4.1.10","ws":"^8.21.0"},"packageManager":"pnpm@11.10.0","_id":"httpxy@0.5.5","bugs":{"url":"https://github.com/unjs/httpxy/issues"},"homepage":"https://github.com/unjs/httpxy#readme","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-uDjmnPyp1q4Sgzf3w+J/Fc6UqcCEj0x4Wjp7OqK5dGhNeDgpyrAmnS6ey8QWrX3SWDon2DMKf9sBa5X9+CVyMA==","shasum":"250363163cc95858dc36233bb08bf9c98a55faba","tarball":"https://registry.npmjs.org/httpxy/-/httpxy-0.5.5.tgz","fileCount":5,"unpackedSize":60932,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCgReT++1qWxnjzr51DjCGNCoXiDhhg05KlOdIFUtZUcQIgCnOkiur+2WimzqZf38ON2gh+6wis8K4J+06vlZdvAX8="}]},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/httpxy_0.5.5_1783595346879_0.9155284604837453"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-21T13:12:52.651Z","modified":"2026-07-09T11:09:07.821Z","0.0.0":"2023-08-21T13:12:52.799Z","0.1.0":"2023-08-21T15:53:28.639Z","0.1.1":"2023-08-23T01:17:56.624Z","0.1.2":"2023-08-23T01:30:42.093Z","0.1.3":"2023-08-26T19:36:48.764Z","0.1.4":"2023-08-26T19:38:03.010Z","0.1.5":"2023-09-08T23:30:11.046Z","0.1.6":"2025-01-14T13:25:36.951Z","0.1.7":"2025-01-27T17:17:10.313Z","0.2.0":"2026-02-09T10:59:40.797Z","0.2.1":"2026-02-10T20:28:10.565Z","0.2.2":"2026-02-11T17:23:11.308Z","0.3.0":"2026-02-12T22:53:31.287Z","0.3.1":"2026-02-18T19:15:28.384Z","0.4.0":"2026-03-25T20:48:12.213Z","0.5.0":"2026-03-26T10:35:04.154Z","0.5.1":"2026-04-22T13:13:56.068Z","0.5.2":"2026-05-19T18:08:02.508Z","0.5.3":"2026-05-20T21:11:08.747Z","0.5.4":"2026-06-30T09:03:42.342Z","0.5.5":"2026-07-09T11:09:07.029Z"},"bugs":{"url":"https://github.com/unjs/httpxy/issues"},"license":"MIT","homepage":"https://github.com/unjs/httpxy#readme","repository":{"type":"git","url":"git+https://github.com/unjs/httpxy.git"},"description":"A full-featured HTTP proxy for Node.js.","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"readme":"# 🔀 httpxy\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![bundle][bundle-src]][bundle-href]\n[![Codecov][codecov-src]][codecov-href]\n\nA Full-Featured HTTP and WebSocket Proxy for Node.js\n\n## Proxy Fetch\n\n`proxyFetch` is a proxy utility with web standard (`Request`/`Response`) interfaces. It forwards requests to a specific server address (TCP host/port or Unix socket), bypassing the URL's hostname.\n\n```ts\nimport { proxyFetch } from \"httpxy\";\n\n// TCP — using a URL string\nconst res = await proxyFetch(\"http://127.0.0.1:3000\", \"http://example.com/api/data\");\nconsole.log(await res.json());\n\n// Unix socket — using a URL string\nconst res2 = await proxyFetch(\"unix:/tmp/app.sock\", \"http://localhost/health\");\nconsole.log(await res2.text());\n\n// Or use an object for more control\nconst res3 = await proxyFetch({ host: \"127.0.0.1\", port: 3000 }, \"http://example.com/api/data\");\n\n// Using a Request object\nconst req = new Request(\"http://example.com/api/data\", {\n  method: \"POST\",\n  headers: { \"Content-Type\": \"application/json\" },\n  body: JSON.stringify({ key: \"value\" }),\n});\nconst res4 = await proxyFetch(\"http://127.0.0.1:3000\", req);\n\n// Using a URL string with RequestInit\nconst res5 = await proxyFetch(\"http://127.0.0.1:3000\", \"http://example.com/api/data\", {\n  method: \"PUT\",\n  headers: { Authorization: \"Bearer token\" },\n  body: JSON.stringify({ updated: true }),\n});\n```\n\nIt accepts the same `input` and `init` arguments as the global `fetch`, including `Request` objects and streaming bodies, and returns a standard `Response`. Redirects are handled manually by default.\n\n## Proxy Upgrade\n\n`proxyUpgrade` is a standalone WebSocket upgrade proxy. It forwards `upgrade` requests to a target server without needing a `ProxyServer` instance — the WebSocket counterpart to `proxyFetch`.\n\n```ts\nimport { createServer } from \"node:http\";\nimport { proxyUpgrade } from \"httpxy\";\n\nconst server = createServer((req, res) => {\n  // Handle regular HTTP requests...\n});\n\nserver.on(\"upgrade\", (req, socket, head) => {\n  proxyUpgrade(\"http://127.0.0.1:8080\", req, socket, head);\n});\n\nserver.listen(3000);\n```\n\nIt accepts the same `addr` formats as `proxyFetch` (`\"http://host:port\"`, `\"unix:/path\"`, or `{ host, port }` / `{ socketPath }`), and returns a `Promise<Socket>` that resolves with the upstream proxy socket once the WebSocket connection is established.\n\n```ts\n// With options\nserver.on(\"upgrade\", (req, socket, head) => {\n  proxyUpgrade({ host: \"127.0.0.1\", port: 8080 }, req, socket, head, {\n    // changeOrigin: true, // rewrite Host header\n    // xfwd: false, // disable x-forwarded-* headers (enabled by default)\n  });\n});\n```\n\n## Proxy Server\n\n> [!NOTE]\n> Proxy server was originally forked from [http-party/node-http-proxy](https://github.com/http-party/node-http-proxy).\n\nCreate proxy:\n\n```ts\nimport { createServer } from \"node:http\";\nimport { createProxyServer } from \"httpxy\";\n\nconst proxy = createProxyServer({});\n\nconst server = createServer(async (req, res) => {\n  try {\n    await proxy.web(req, res, {\n      target: address /* address of your proxy server here */,\n    });\n  } catch (error) {\n    console.error(error);\n    res.statusCode = 500;\n    res.end(\"Proxy error: \" + error.toString());\n  }\n});\n\nserver.listen(3000, () => {\n  console.log(\"Proxy is listening on http://localhost:3000\");\n});\n```\n\n## Options\n\n| Option                  | Type                                   | Default    | Description                                                                 |\n| ----------------------- | -------------------------------------- | ---------- | --------------------------------------------------------------------------- |\n| `target`                | `string \\| URL \\| ProxyTargetDetailed` | —          | Target server URL                                                           |\n| `forward`               | `string \\| URL`                        | —          | Forward server URL (pipes request without the target's response)            |\n| `agent`                 | `http.Agent \\| false`                  | keep-alive | Shared keep-alive agent by default. Set `false` to disable connection reuse |\n| `ssl`                   | `https.ServerOptions`                  | —          | Object passed to `https.createServer()`                                     |\n| `ws`                    | `boolean`                              | `false`    | Enable WebSocket proxying                                                   |\n| `xfwd`                  | `boolean`                              | `false`    | Add `x-forwarded-*` headers                                                 |\n| `secure`                | `boolean`                              | —          | Verify SSL certificates                                                     |\n| `toProxy`               | `boolean`                              | `false`    | Pass absolute URL as path (proxy-to-proxy)                                  |\n| `prependPath`           | `boolean`                              | `true`     | Prepend the target's path to the proxy path                                 |\n| `ignorePath`            | `boolean`                              | `false`    | Ignore the incoming request path                                            |\n| `localAddress`          | `string`                               | —          | Local interface to bind for outgoing connections                            |\n| `changeOrigin`          | `boolean`                              | `false`    | Change the `Host` header to match the target URL                            |\n| `preserveHeaderKeyCase` | `boolean`                              | `false`    | Keep original letter case of response header keys                           |\n| `auth`                  | `string`                               | —          | Basic authentication (`'user:password'`) for `Authorization` header         |\n| `hostRewrite`           | `string`                               | —          | Rewrite the `Location` hostname on redirects (301/302/307/308)              |\n| `autoRewrite`           | `boolean`                              | `false`    | Rewrite `Location` host/port on redirects based on the request              |\n| `protocolRewrite`       | `string`                               | —          | Rewrite `Location` protocol on redirects (`'http'` or `'https'`)            |\n| `cookieDomainRewrite`   | `false \\| string \\| object`            | `false`    | Rewrite domain of `Set-Cookie` headers                                      |\n| `cookiePathRewrite`     | `false \\| string \\| object`            | `false`    | Rewrite path of `Set-Cookie` headers                                        |\n| `headers`               | `object`                               | —          | Extra headers to add to target requests                                     |\n| `proxyTimeout`          | `number`                               | `120000`   | Timeout (ms) for the proxy request to the target                            |\n| `timeout`               | `number`                               | —          | Timeout (ms) for the incoming request                                       |\n| `selfHandleResponse`    | `boolean`                              | `false`    | Disable automatic response piping (handle `proxyRes` yourself)              |\n| `followRedirects`       | `boolean \\| number`                    | `false`    | Follow HTTP redirects from target. `true` = max 5 hops; number = custom max |\n| `buffer`                | `stream.Stream`                        | —          | Stream to use as request body instead of the incoming request               |\n\n> [!NOTE]\n> Redirect rewriting (`hostRewrite`, `autoRewrite`, `protocolRewrite`) only applies when the `Location` header host matches the target host, so cross-origin redirects are never altered. A protocol-relative `Location` (`//host/path`) is kept protocol-relative when only the host is rewritten (`hostRewrite`/`autoRewrite`), so the client resolves the scheme itself. Setting `protocolRewrite` explicitly opts into a concrete scheme and absolutizes such values (e.g. `//host/path` → `https://host/path`).\n\n## Events\n\n| Event        | Arguments                                | Description                                            |\n| ------------ | ---------------------------------------- | ------------------------------------------------------ |\n| `error`      | `(err, req, res, target)`                | An error occurred during proxying                      |\n| `proxyReq`   | `(proxyReq, req, res, options)`          | Before request is sent to target (modify headers here) |\n| `proxyRes`   | `(proxyRes, req, res)`                   | Response received from target                          |\n| `proxyReqWs` | `(proxyReq, req, socket, options, head)` | Before WebSocket upgrade request is sent               |\n| `open`       | `(proxySocket)`                          | WebSocket connection opened                            |\n| `close`      | `(proxyRes, proxySocket, proxyHead)`     | WebSocket connection closed                            |\n| `start`      | `(req, res, target)`                     | Proxy processing started                               |\n| `end`        | `(req, res, proxyRes)`                   | Proxy request completed                                |\n\n## Examples\n\n### HTTP Proxy\n\n```ts\nimport { createServer } from \"node:http\";\nimport { createProxyServer } from \"httpxy\";\n\nconst proxy = createProxyServer({});\n\nconst server = createServer(async (req, res) => {\n  await proxy.web(req, res, { target: \"http://localhost:8080\" });\n});\n\nserver.listen(3000);\n```\n\n### WebSocket Proxy\n\n```ts\nimport { createServer } from \"node:http\";\nimport { createProxyServer } from \"httpxy\";\n\nconst proxy = createProxyServer({ target: \"http://localhost:8080\", ws: true });\n\nconst server = createServer(async (req, res) => {\n  await proxy.web(req, res);\n});\n\nserver.on(\"upgrade\", (req, socket, head) => {\n  proxy.ws(req, socket, { target: \"http://localhost:8080\" }, head);\n});\n\nserver.listen(3000);\n```\n\n### Modify Request Headers\n\n```ts\nimport { createServer } from \"node:http\";\nimport { createProxyServer } from \"httpxy\";\n\nconst proxy = createProxyServer({ target: \"http://localhost:8080\" });\n\nproxy.on(\"proxyReq\", (proxyReq) => {\n  proxyReq.setHeader(\"X-Forwarded-By\", \"httpxy\");\n});\n\nconst server = createServer(async (req, res) => {\n  await proxy.web(req, res);\n});\n\nserver.listen(3000);\n```\n\n### HTTPS Proxy\n\n```ts\nimport { readFileSync } from \"node:fs\";\nimport { createProxyServer } from \"httpxy\";\n\nconst proxy = createProxyServer({\n  ssl: {\n    key: readFileSync(\"server-key.pem\", \"utf8\"),\n    cert: readFileSync(\"server-cert.pem\", \"utf8\"),\n  },\n  target: \"https://localhost:8443\",\n  secure: false, // allow self-signed certificates\n});\n\nproxy.listen(3000);\n```\n\n### Standalone Proxy Server\n\n```ts\nimport { createProxyServer } from \"httpxy\";\n\nconst proxy = createProxyServer({\n  target: \"http://localhost:8080\",\n  changeOrigin: true,\n});\n\nproxy.listen(3000);\n```\n\n## Development\n\n- Clone this repository\n- Install latest LTS version of [Node.js](https://nodejs.org/en/)\n- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`\n- Install dependencies using `pnpm install`\n- Run interactive tests using `pnpm dev`\n\n## Acknowledgements\n\nPerformance optimizations in httpxy were inspired by analysis of [fast-proxy](https://github.com/fastify/fast-proxy) and [@fastify/http-proxy](https://github.com/fastify/fastify-http-proxy).\n\n## License\n\nMade with 💛\n\nPublished under [MIT License](./LICENSE).\n\n<!-- Badges -->\n\n[npm-version-src]: https://img.shields.io/npm/v/httpxy?style=flat&colorA=18181B&colorB=F0DB4F\n[npm-version-href]: https://npmjs.com/package/httpxy\n[npm-downloads-src]: https://img.shields.io/npm/dm/httpxy?style=flat&colorA=18181B&colorB=F0DB4F\n[npm-downloads-href]: https://npmjs.com/package/httpxy\n[codecov-src]: https://img.shields.io/codecov/c/gh/unjs/httpxy/main?style=flat&colorA=18181B&colorB=F0DB4F\n[codecov-href]: https://codecov.io/gh/unjs/httpxy\n[bundle-src]: https://img.shields.io/bundlephobia/minzip/httpxy?style=flat&colorA=18181B&colorB=F0DB4F\n[bundle-href]: https://bundlephobia.com/result?p=httpxy\n","readmeFilename":"README.md"}