{"_id":"@astronlab/toolbox-cors-proxy","_rev":"3-343c6171252902d1e9c374919480474b","name":"@astronlab/toolbox-cors-proxy","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@astronlab/toolbox-cors-proxy","version":"1.0.0","keywords":["cors","proxy","tricount","astronlab","toolbox"],"author":{"name":"AstronLab"},"license":"MIT","_id":"@astronlab/toolbox-cors-proxy@1.0.0","maintainers":[{"name":"omar391","email":"omar391@gmail.com"}],"homepage":"https://github.com/omar391/toolbox#readme","bugs":{"url":"https://github.com/omar391/toolbox/issues"},"bin":{"toolbox-cors-proxy":"cli.js"},"dist":{"shasum":"56d77dc605bfcf31a7210b501dcc40fcc66823ae","tarball":"https://registry.npmjs.org/@astronlab/toolbox-cors-proxy/-/toolbox-cors-proxy-1.0.0.tgz","fileCount":3,"integrity":"sha512-U+/xEWBKIJ0RPqxGykcJZ56oDrYahFlyz8cKEtOtrv1+mDtoUBbiPwHz/Nsoj13eKapMPsrx4Y7anG1Lz0p5wQ==","signatures":[{"sig":"MEUCIAjEeL42a0Ey06pB5PQswD7Pj6BwhM6IuwDvsmd3qy5eAiEA2F2NK9H8cdlT8oIW6TqcjpupDgsXuJjc6O5Vpxl4vk4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4978},"main":"cli.js","type":"module","engines":{"node":">=18"},"gitHead":"7707d72259d95ccebc64eb3b19eeaa4ea7b94ac7","scripts":{"build":"echo 'No compilation needed for pure JS wrapper'"},"_npmUser":{"name":"omar391","email":"omar391@gmail.com"},"repository":{"url":"git+https://github.com/omar391/toolbox.git","type":"git"},"_npmVersion":"11.12.1","description":"Local CORS proxy for AstronLab Toolbox — run locally to avoid cloud quota when using AstronLab Tools.","directories":{},"_nodeVersion":"26.0.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/toolbox-cors-proxy_1.0.0_1780120027308_0.6771465521823592","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@astronlab/toolbox-cors-proxy","version":"1.0.1","keywords":["cors","proxy","tricount","astronlab","toolbox"],"author":{"name":"AstronLab"},"license":"MIT","_id":"@astronlab/toolbox-cors-proxy@1.0.1","maintainers":[{"name":"omar391","email":"omar391@gmail.com"}],"homepage":"https://github.com/astronlab/toolbox-cors-proxy#readme","bugs":{"url":"https://github.com/astronlab/toolbox-cors-proxy/issues"},"bin":{"toolbox-cors-proxy":"cli.js"},"dist":{"shasum":"4cbf9906e0e741a310b4371b200c86da0563fe19","tarball":"https://registry.npmjs.org/@astronlab/toolbox-cors-proxy/-/toolbox-cors-proxy-1.0.1.tgz","fileCount":3,"integrity":"sha512-A1TzkA8g93YeWlYhx9Mv6WO/KNxu1i/v+o9FhR1Nsb5M7A5ZaGmztUN5JS04n9BwYpLiCh2X7OOpCsxnmPue4Q==","signatures":[{"sig":"MEUCIB1iUkWB7Vu5Z1D1bFC8btmHyvcfnzED/r5dAc4UGQ3YAiEAwHMGukr+VdePyAC+oSYtnPRaRvdbgDlKNPI6NCSbzkY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4999},"main":"cli.js","type":"module","engines":{"node":">=18"},"gitHead":"a13f0ed7a43f35cbcf36fb1063628e4e6b2e8f21","scripts":{"build":"echo 'No compilation needed for pure JS wrapper'"},"_npmUser":{"name":"omar391","email":"omar391@gmail.com"},"repository":{"url":"git+https://github.com/astronlab/toolbox-cors-proxy.git","type":"git"},"_npmVersion":"11.12.1","description":"Local CORS proxy for AstronLab Toolbox — run locally to avoid cloud quota when using AstronLab Tools.","directories":{},"_nodeVersion":"26.0.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/toolbox-cors-proxy_1.0.1_1780120372557_0.06250817896399719","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@astronlab/toolbox-cors-proxy","version":"1.0.2","description":"Local CORS proxy for AstronLab Toolbox — run locally to avoid cloud quota when using AstronLab Tools.","main":"cli.js","type":"module","bin":{"toolbox-cors-proxy":"cli.js"},"scripts":{"build":"echo 'No compilation needed for pure JS wrapper'"},"keywords":["cors","proxy","tricount","astronlab","toolbox"],"author":{"name":"AstronLab"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/astronlabltd/toolbox-cors-proxy.git"},"engines":{"node":">=18"},"gitHead":"603a06be3bbd14507c1090f3c10e2ef071817d93","_id":"@astronlab/toolbox-cors-proxy@1.0.2","bugs":{"url":"https://github.com/astronlabltd/toolbox-cors-proxy/issues"},"homepage":"https://github.com/astronlabltd/toolbox-cors-proxy#readme","_nodeVersion":"26.0.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-S36AY/VVvGfbCD2v5xbKe1/v5KprRY7eXGCdntxPT3pGYsiAySJ7yLWyo30Shx4PL55oXwEMi1Fnk+YhVFlRAw==","shasum":"1f1310eeb6701046e5c3e238bcca9a352aa654f8","tarball":"https://registry.npmjs.org/@astronlab/toolbox-cors-proxy/-/toolbox-cors-proxy-1.0.2.tgz","fileCount":3,"unpackedSize":5002,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICCFd2INpR0Hei1br+YXW5stY0gmcG7zoABasXklbfFAAiB7JnL6mDjSAbvTVDe8Uu5ySaOYtJMRXoJtYulgytDqgA=="}]},"_npmUser":{"name":"omar391","email":"omar391@gmail.com"},"directories":{},"maintainers":[{"name":"omar391","email":"omar391@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/toolbox-cors-proxy_1.0.2_1780120925540_0.3707533778925831"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-30T05:47:07.134Z","modified":"2026-05-30T06:02:05.796Z","1.0.0":"2026-05-30T05:47:07.427Z","1.0.1":"2026-05-30T05:52:52.701Z","1.0.2":"2026-05-30T06:02:05.675Z"},"bugs":{"url":"https://github.com/astronlabltd/toolbox-cors-proxy/issues"},"author":{"name":"AstronLab"},"license":"MIT","homepage":"https://github.com/astronlabltd/toolbox-cors-proxy#readme","keywords":["cors","proxy","tricount","astronlab","toolbox"],"repository":{"type":"git","url":"git+https://github.com/astronlabltd/toolbox-cors-proxy.git"},"description":"Local CORS proxy for AstronLab Toolbox — run locally to avoid cloud quota when using AstronLab Tools.","maintainers":[{"name":"omar391","email":"omar391@gmail.com"}],"readme":"# @astronlab/toolbox-cors-proxy\n\nA lightweight local CORS proxy for [AstronLab Tools](https://toolbox-dashboard.pages.dev).\n\nRun it locally to keep all network requests on your machine instead of routing through the cloud proxy.\n\n## Quick Start\n\n```bash\nnpx @astronlab/toolbox-cors-proxy\n# → Listening on http://127.0.0.1:8888\n```\n\nCustom port:\n\n```bash\nnpx @astronlab/toolbox-cors-proxy 9090\n# → Listening on http://127.0.0.1:9090\n```\n\n## Configure in AstronLab Tools\n\n1. Open [AstronLab Tools](https://toolbox-dashboard.pages.dev)\n2. Click the **⚙️** icon in the top-right navbar\n3. Select **🖥️ Local**\n4. Enter your proxy URL: `http://127.0.0.1:8888`\n\n## Supported Platforms\n\nSince it is written in pure JavaScript (ESM) using Node.js built-in APIs, it runs natively on **any operating system** (macOS, Windows, Linux, FreeBSD, etc.) and CPU architecture (x64, arm64, etc.) where Node.js is installed.\n\nNode.js **v18.0.0 or higher** is required.\n\n## API\n\nThe proxy exposes a single endpoint:\n\n```\nGET/POST http://127.0.0.1:8888/proxy?url=<target-url>\n```\n\nAll request headers, body, and method are forwarded to the target URL.\nCORS headers are added to every response so browser-based apps can access any endpoint.\n\n## Privacy\n\nAll traffic stays on your local machine. No data is sent to AstronLab servers.\n","readmeFilename":"README.md"}