{"_id":"@deco-cx/warp-node","_rev":"12-dee0f1261f0c383b5198a89ab3ccf615","name":"@deco-cx/warp-node","dist-tags":{"latest":"0.3.23"},"versions":{"0.3.8":{"name":"@deco-cx/warp-node","version":"0.3.8","keywords":["websocket","tunnel","proxy","warp","cloudflare","nodejs"],"author":{"name":"Deco"},"license":"MIT","_id":"@deco-cx/warp-node@0.3.8","maintainers":[{"name":"marcosvcp","email":"marcoscandeia123@gmail.com"},{"name":"camudo","email":"viktor@deco.cx"}],"homepage":"https://github.com/deco-cx/warp-node","bugs":{"url":"https://github.com/deco-cx/warp-node/issues"},"dist":{"shasum":"78f3f170f293c58d80236e02183494c074cb8f7c","tarball":"https://registry.npmjs.org/@deco-cx/warp-node/-/warp-node-0.3.8.tgz","fileCount":48,"integrity":"sha512-3E+n7Lc70dQad52RG2KD6dvs3yY4Ak71KqQp1YNPGFxIAAaQgWEqe84qTsLdOhpJz71SGrkTY5XZPMWBjOA5Lg==","signatures":[{"sig":"MEUCIAWfPpaNbg/T8msUcstb9b3ZP2brHYQZHv4Tyx4+Czq2AiEAnCTvF/oxlb4+rm4rrrk8nmYtPeJZ2DSBLj4TuFGaksM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@deco-cx%2fwarp-node@0.3.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":120306},"main":"dist/mod.js","type":"module","types":"dist/mod.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/mod.d.ts","import":"./dist/mod.js"}},"gitHead":"6c8db065bb51d611458dac139a599a1bba083840","scripts":{"dev":"wrangler dev --port 8000","build":"tsc","deploy":"wrangler deploy","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"camudo","email":"viktor@deco.cx"},"repository":{"url":"git+https://github.com/deco-cx/warp-node.git","type":"git"},"_npmVersion":"10.8.2","description":"WebSocket tunneling library for Node.js and other runtimes","directories":{},"_nodeVersion":"20.19.4","dependencies":{"ws":"^8.18.0","undici":"^6.21.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"wrangler":"^3.91.0","@types/ws":"^8.5.13","typescript":"^5.5.2","@types/node":"^22.10.1","@cloudflare/workers-types":"^4.20241127.0"},"_npmOperationalInternal":{"tmp":"tmp/warp-node_0.3.8_1753723505907_0.21627129171815618","host":"s3://npm-registry-packages-npm-production"}},"0.3.9":{"name":"@deco-cx/warp-node","version":"0.3.9","keywords":["websocket","tunnel","proxy","warp","cloudflare","nodejs"],"author":{"name":"Deco"},"license":"MIT","_id":"@deco-cx/warp-node@0.3.9","maintainers":[{"name":"marcosvcp","email":"marcoscandeia123@gmail.com"},{"name":"camudo","email":"viktor@deco.cx"}],"homepage":"https://github.com/deco-cx/warp-node","bugs":{"url":"https://github.com/deco-cx/warp-node/issues"},"dist":{"shasum":"1cdd41e99219aef9e063b26adad4c41291f76f6a","tarball":"https://registry.npmjs.org/@deco-cx/warp-node/-/warp-node-0.3.9.tgz","fileCount":48,"integrity":"sha512-Pgyt5/CUskDvEE4rJmU59OpZKy6l7Yv0xPWryQhS0YMyA0fspBn/Ptiwm+nJS7HTaGtOltfY/VtPOjXYc/lysg==","signatures":[{"sig":"MEUCIHIZya/cXb3PlGJltn+E+FLhxCtfTNz19FD/8260CPfYAiEApzg5Pan1MuLJOQTPSR+UI0gLx+LIcDtC9sdqhLw6w90=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@deco-cx%2fwarp-node@0.3.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":120306},"main":"dist/mod.js","type":"module","types":"dist/mod.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/mod.d.ts","import":"./dist/mod.js"}},"gitHead":"79c912c7d97a79193c4505ef29a911dff2754abe","scripts":{"dev":"wrangler dev --port 8000","build":"tsc","deploy":"wrangler deploy","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"camudo","email":"viktor@deco.cx"},"repository":{"url":"git+https://github.com/deco-cx/warp-node.git","type":"git"},"_npmVersion":"10.8.2","description":"WebSocket tunneling library for Node.js and other runtimes","directories":{},"_nodeVersion":"20.19.4","dependencies":{"ws":"^8.18.0","undici":"^6.21.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"wrangler":"^3.91.0","@types/ws":"^8.5.13","typescript":"^5.5.2","@types/node":"^22.10.1","@cloudflare/workers-types":"^4.20241127.0"},"_npmOperationalInternal":{"tmp":"tmp/warp-node_0.3.9_1753723700279_0.9544238580764299","host":"s3://npm-registry-packages-npm-production"}},"0.3.14":{"name":"@deco-cx/warp-node","version":"0.3.14","keywords":["websocket","tunnel","proxy","warp","cloudflare","nodejs"],"author":{"name":"Deco"},"license":"MIT","_id":"@deco-cx/warp-node@0.3.14","maintainers":[{"name":"marcosvcp","email":"marcoscandeia123@gmail.com"},{"name":"camudo","email":"viktor@deco.cx"}],"homepage":"https://github.com/deco-cx/warp-node","bugs":{"url":"https://github.com/deco-cx/warp-node/issues"},"dist":{"shasum":"678f611e38545eaf8def6e1c19276ee27d315c1c","tarball":"https://registry.npmjs.org/@deco-cx/warp-node/-/warp-node-0.3.14.tgz","fileCount":64,"integrity":"sha512-DaDJp1DtPddeigNRY0/y1YnNV17uYs9TTxpGMNo4EyYU9xCQtjBxbb7cekQQzUe0e5cUW70H8Sypfr7KYw5wZA==","signatures":[{"sig":"MEUCIF3I602R0nMlVuUaouBPgN8IbjGt8oJSI/l8OHEVO0lxAiEAkqP6v7iRtfc+5squssaCjIgqG+bE1cC4CVwZt6Fh1Is=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@deco-cx%2fwarp-node@0.3.14","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":133189},"main":"dist/mod.js","type":"module","types":"dist/mod.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/mod.d.ts","import":"./dist/mod.js"}},"gitHead":"bcfb7014cdd34b0c4e8bb693a1e2c60a71264657","scripts":{"dev":"wrangler dev --port 8000","test":"vitest run","build":"tsc","deploy":"wrangler deploy","test:ui":"vitest --ui","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"camudo","email":"viktor@deco.cx"},"repository":{"url":"git+https://github.com/deco-cx/warp-node.git","type":"git"},"_npmVersion":"10.9.2","description":"WebSocket tunneling library for Node.js and other runtimes","directories":{},"_nodeVersion":"22.17.1","dependencies":{"ws":"^8.18.0","undici":"^6.21.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.8","wrangler":"^3.91.0","@types/ws":"^8.5.13","@vitest/ui":"^2.1.8","typescript":"^5.5.2","@types/node":"^22.10.1","@cloudflare/workers-types":"^4.20241127.0"},"_npmOperationalInternal":{"tmp":"tmp/warp-node_0.3.14_1753730094964_0.5605902446498974","host":"s3://npm-registry-packages-npm-production"}},"0.3.15":{"name":"@deco-cx/warp-node","version":"0.3.15","keywords":["websocket","tunnel","proxy","warp","cloudflare","nodejs"],"author":{"name":"Deco"},"license":"MIT","_id":"@deco-cx/warp-node@0.3.15","maintainers":[{"name":"marcosvcp","email":"marcoscandeia123@gmail.com"},{"name":"camudo","email":"viktor@deco.cx"}],"homepage":"https://github.com/deco-cx/warp-node","bugs":{"url":"https://github.com/deco-cx/warp-node/issues"},"dist":{"shasum":"589ae50226aada83c39dd452cc7fe2f841788aea","tarball":"https://registry.npmjs.org/@deco-cx/warp-node/-/warp-node-0.3.15.tgz","fileCount":88,"integrity":"sha512-4NPSIGgs6WjAblpRnkkYKl2tt8npqzpdOcgBo02kPfvwAspTTgUJwuNTmhNtkJtYXgTc72SbflYd6FngW6nKtA==","signatures":[{"sig":"MEQCICDm0yxU2fFomMcp0d2qoKEVBphxVqqJtciZpqp0wO9mAiBzyfeBgayEO6r6WYsCW7X/M2iOW0wrW7ZhnMEulX0/jw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":153345},"main":"dist/mod.js","type":"module","types":"dist/mod.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/mod.d.ts","import":"./dist/mod.js"}},"gitHead":"2ec7ace27dc1eabee5a57f5b807de49ebfc9cebe","scripts":{"dev":"wrangler dev --port 8000","test":"vitest run","build":"tsc","deploy":"wrangler deploy","test:ui":"vitest --ui","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"camudo","email":"viktor@deco.cx"},"repository":{"url":"git+https://github.com/deco-cx/warp-node.git","type":"git"},"_npmVersion":"10.9.2","description":"WebSocket tunneling library for Node.js and other runtimes","directories":{},"_nodeVersion":"23.6.1","dependencies":{"ws":"^8.18.0","undici":"^6.21.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.8","wrangler":"^3.91.0","@types/ws":"^8.5.13","@vitest/ui":"^2.1.8","typescript":"^5.5.2","@types/node":"^22.10.1","@cloudflare/workers-types":"^4.20241127.0"},"_npmOperationalInternal":{"tmp":"tmp/warp-node_0.3.15_1753975213578_0.3669913594101728","host":"s3://npm-registry-packages-npm-production"}},"0.3.16":{"name":"@deco-cx/warp-node","version":"0.3.16","keywords":["websocket","tunnel","proxy","warp","cloudflare","nodejs"],"author":{"name":"Deco"},"license":"MIT","_id":"@deco-cx/warp-node@0.3.16","maintainers":[{"name":"marcosvcp","email":"marcoscandeia123@gmail.com"},{"name":"camudo","email":"viktor@deco.cx"}],"homepage":"https://github.com/deco-cx/warp-node","bugs":{"url":"https://github.com/deco-cx/warp-node/issues"},"dist":{"shasum":"34b8dce7e79d9cf820118366810a1ce2c5209d81","tarball":"https://registry.npmjs.org/@deco-cx/warp-node/-/warp-node-0.3.16.tgz","fileCount":64,"integrity":"sha512-8cak+6YDrfJiYAkRqLCcywXrDaCkfKjbq/zU0zYUc5DSTt5bOzrA7RifqCLAfAgtEBw0mDdcr4IRPqGz65RdbA==","signatures":[{"sig":"MEUCIFtL3//N8zGdiWekTMOugqQBiZYVJ30VsLFYmBIYCSBaAiEAv/xxvrXqhhK1EM75VXiNLwGJ7MZe5VqtTf2SnEakVmw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@deco-cx%2fwarp-node@0.3.16","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":134187},"main":"dist/mod.js","type":"module","types":"dist/mod.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/mod.d.ts","import":"./dist/mod.js"}},"gitHead":"59f24a6e79d8185c38f4cae1346ef8a92500d24d","scripts":{"dev":"wrangler dev --port 8000","test":"vitest run","build":"tsc","deploy":"wrangler deploy","test:ui":"vitest --ui","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"camudo","email":"viktor@deco.cx"},"repository":{"url":"git+https://github.com/deco-cx/warp-node.git","type":"git"},"_npmVersion":"10.9.2","description":"WebSocket tunneling library for Node.js and other runtimes","directories":{},"_nodeVersion":"22.17.1","dependencies":{"ws":"^8.18.0","undici":"^6.21.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.8","wrangler":"^3.91.0","@types/ws":"^8.5.13","@vitest/ui":"^2.1.8","typescript":"^5.5.2","@types/node":"^22.10.1","@cloudflare/workers-types":"^4.20241127.0"},"_npmOperationalInternal":{"tmp":"tmp/warp-node_0.3.16_1753977652323_0.6548295740340779","host":"s3://npm-registry-packages-npm-production"}},"0.3.20":{"name":"@deco-cx/warp-node","version":"0.3.20","keywords":["websocket","tunnel","proxy","warp","cloudflare","nodejs"],"author":{"name":"Deco"},"license":"MIT","_id":"@deco-cx/warp-node@0.3.20","maintainers":[{"name":"marcosvcp","email":"marcoscandeia123@gmail.com"},{"name":"camudo","email":"viktor@deco.cx"},{"name":"igorbrasileiro","email":"brasileiro456@gmail.com"}],"homepage":"https://github.com/deco-cx/warp-node","bugs":{"url":"https://github.com/deco-cx/warp-node/issues"},"dist":{"shasum":"e822bf7a2ad1a84a16d112c46a80324b85a61b0a","tarball":"https://registry.npmjs.org/@deco-cx/warp-node/-/warp-node-0.3.20.tgz","fileCount":64,"integrity":"sha512-rdRWrT5eMhu1zhAzliRkoQCUr2j6Dg9npUKoP4uP+rV9wIbYKSmXJbM2z/fOiy5FVvzQlpvY16ACNRIRz+UWqw==","signatures":[{"sig":"MEYCIQDqsfIU9QuVkrOaiTxrKQQY+MhGrCFqqzxIxUE+95/2GwIhALuvncb/oL6dOaMQNYTkjqHyxBropgD0MvFY15tUJIu6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@deco-cx%2fwarp-node@0.3.20","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":134550},"main":"dist/mod.js","type":"module","types":"dist/mod.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/mod.d.ts","import":"./dist/mod.js"}},"gitHead":"5e5d60564a479559f9da5bc21ee4f6ab6da80e3a","scripts":{"dev":"wrangler dev --port 8000","test":"vitest run","build":"tsc","deploy":"wrangler deploy","test:ui":"vitest --ui","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"camudo","email":"viktor@deco.cx"},"repository":{"url":"git+https://github.com/deco-cx/warp-node.git","type":"git"},"_npmVersion":"10.9.2","description":"WebSocket tunneling library for Node.js and other runtimes","directories":{},"_nodeVersion":"22.17.1","dependencies":{"ws":"^8.18.0","undici":"^6.21.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.8","wrangler":"^3.91.0","@types/ws":"^8.5.13","@vitest/ui":"^2.1.8","typescript":"^5.5.2","@types/node":"^22.10.1","@cloudflare/workers-types":"^4.20241127.0"},"_npmOperationalInternal":{"tmp":"tmp/warp-node_0.3.20_1754421692821_0.5711607631575093","host":"s3://npm-registry-packages-npm-production"}},"0.3.21-beta.1":{"name":"@deco-cx/warp-node","version":"0.3.21-beta.1","keywords":["websocket","tunnel","proxy","warp","cloudflare","nodejs"],"author":{"name":"Deco"},"license":"MIT","_id":"@deco-cx/warp-node@0.3.21-beta.1","maintainers":[{"name":"marcosvcp","email":"marcoscandeia123@gmail.com"},{"name":"camudo","email":"viktor@deco.cx"},{"name":"igorbrasileiro","email":"brasileiro456@gmail.com"}],"homepage":"https://github.com/deco-cx/warp-node","bugs":{"url":"https://github.com/deco-cx/warp-node/issues"},"dist":{"shasum":"4885f16df4b0d921217e1e5d111d9cef4d5b1fae","tarball":"https://registry.npmjs.org/@deco-cx/warp-node/-/warp-node-0.3.21-beta.1.tgz","fileCount":64,"integrity":"sha512-R0RFFJy9Lhawic6RXGp+7pRJf1CcdON7Hqai+9j7uGmIZSzVGv+5mSSvtdJzvJSTWyB57hM6VsjQDkwYoJt4mQ==","signatures":[{"sig":"MEYCIQDev1BKSxt2TPf/7TRwC2U56xIP8v5AG0fWDlnvX03IvAIhAIaAovnzGG0f4XYP1Ov/L28bJ6maWNG1NrHy3vLW6x1o","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@deco-cx%2fwarp-node@0.3.21-beta.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":136958},"main":"dist/mod.js","type":"module","types":"dist/mod.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/mod.d.ts","import":"./dist/mod.js"}},"gitHead":"47f47a743db0d00c38c4998d5831ecac03847bad","scripts":{"dev":"wrangler dev --port 8000","test":"vitest run","build":"tsc","deploy":"wrangler deploy","test:ui":"vitest --ui","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"camudo","email":"viktor@deco.cx"},"repository":{"url":"git+https://github.com/deco-cx/warp-node.git","type":"git"},"_npmVersion":"10.9.2","description":"WebSocket tunneling library for Node.js and other runtimes","directories":{},"_nodeVersion":"22.17.1","dependencies":{"ws":"^8.18.0","undici":"^6.21.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.8","wrangler":"^3.91.0","@types/ws":"^8.5.13","@vitest/ui":"^2.1.8","typescript":"^5.5.2","@types/node":"^22.10.1","@cloudflare/workers-types":"^4.20241127.0"},"_npmOperationalInternal":{"tmp":"tmp/warp-node_0.3.21-beta.1_1754425116952_0.11157231511517307","host":"s3://npm-registry-packages-npm-production"}},"0.3.21-beta.2":{"name":"@deco-cx/warp-node","version":"0.3.21-beta.2","keywords":["websocket","tunnel","proxy","warp","cloudflare","nodejs"],"author":{"name":"Deco"},"license":"MIT","_id":"@deco-cx/warp-node@0.3.21-beta.2","maintainers":[{"name":"marcosvcp","email":"marcoscandeia123@gmail.com"},{"name":"camudo","email":"viktor@deco.cx"},{"name":"igorbrasileiro","email":"brasileiro456@gmail.com"}],"homepage":"https://github.com/deco-cx/warp-node","bugs":{"url":"https://github.com/deco-cx/warp-node/issues"},"dist":{"shasum":"781167c2915f2afae279405fb23c6c17a12aa967","tarball":"https://registry.npmjs.org/@deco-cx/warp-node/-/warp-node-0.3.21-beta.2.tgz","fileCount":64,"integrity":"sha512-XqaX0jD8kuG8jqSD4HSwxUlPkDepOqIcpODuGyS5V6U+BiUy0qqYBEQEY9WnsKxUZzFc41pnECKbrHP/KuJvqw==","signatures":[{"sig":"MEUCIFGkCcAdZzvZruuHjfS1HoKdKZOJo1FmJQVqGJ5y6wbLAiEA/tgVrQI1T6rg6loybb6ryIh1wvCdXirVq2RWSZyy4RU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@deco-cx%2fwarp-node@0.3.21-beta.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":139308},"main":"dist/mod.js","type":"module","types":"dist/mod.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/mod.d.ts","import":"./dist/mod.js"}},"gitHead":"8ff7df7f101732d21bfedb4ebb8d8242fcf747d5","scripts":{"dev":"wrangler dev --port 8000","test":"vitest run","build":"tsc","deploy":"wrangler deploy","test:ui":"vitest --ui","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"camudo","email":"viktor@deco.cx"},"repository":{"url":"git+https://github.com/deco-cx/warp-node.git","type":"git"},"_npmVersion":"10.9.2","description":"WebSocket tunneling library for Node.js and other runtimes","directories":{},"_nodeVersion":"22.17.1","dependencies":{"ws":"^8.18.0","undici":"^6.21.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.8","wrangler":"^3.91.0","@types/ws":"^8.5.13","@vitest/ui":"^2.1.8","typescript":"^5.5.2","@types/node":"^22.10.1","@cloudflare/workers-types":"^4.20241127.0"},"_npmOperationalInternal":{"tmp":"tmp/warp-node_0.3.21-beta.2_1754425645210_0.33100512147034444","host":"s3://npm-registry-packages-npm-production"}},"0.3.21-debug.1":{"name":"@deco-cx/warp-node","version":"0.3.21-debug.1","keywords":["websocket","tunnel","proxy","warp","cloudflare","nodejs"],"author":{"name":"Deco"},"license":"MIT","_id":"@deco-cx/warp-node@0.3.21-debug.1","maintainers":[{"name":"marcosvcp","email":"marcoscandeia123@gmail.com"},{"name":"camudo","email":"viktor@deco.cx"},{"name":"igorbrasileiro","email":"brasileiro456@gmail.com"}],"homepage":"https://github.com/deco-cx/warp-node","bugs":{"url":"https://github.com/deco-cx/warp-node/issues"},"dist":{"shasum":"d881fcf148f9d0b2dc9cac1945735bd3dada5cfe","tarball":"https://registry.npmjs.org/@deco-cx/warp-node/-/warp-node-0.3.21-debug.1.tgz","fileCount":64,"integrity":"sha512-7yBCPpT5ANNhQooTpvgYHczjGHOlGz5dGb5FHq27i1VLF/bIb91Bolr48kpmymFpM13sMjknLFHmRyzidpEAyw==","signatures":[{"sig":"MEUCIQD5wOtGt9HShWwEmQzWKNQ2BEuWw3Fb45QE5vUxQ9/l7gIgFSXasLnmB+1vdfNFJ4vLHE72Fw2Rq4yIwyEB8EUVMFE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@deco-cx%2fwarp-node@0.3.21-debug.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":134762},"main":"dist/mod.js","type":"module","types":"dist/mod.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/mod.d.ts","import":"./dist/mod.js"}},"gitHead":"e118b008c09c941a3e74571aca6b220b36b4ac46","scripts":{"dev":"wrangler dev --port 8000","test":"vitest run","build":"tsc","deploy":"wrangler deploy","test:ui":"vitest --ui","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"camudo","email":"viktor@deco.cx"},"repository":{"url":"git+https://github.com/deco-cx/warp-node.git","type":"git"},"_npmVersion":"10.9.2","description":"WebSocket tunneling library for Node.js and other runtimes","directories":{},"_nodeVersion":"22.17.1","dependencies":{"ws":"^8.18.0","undici":"^6.21.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.8","wrangler":"^3.91.0","@types/ws":"^8.5.13","@vitest/ui":"^2.1.8","typescript":"^5.5.2","@types/node":"^22.10.1","@cloudflare/workers-types":"^4.20241127.0"},"_npmOperationalInternal":{"tmp":"tmp/warp-node_0.3.21-debug.1_1754427297045_0.6037869213770224","host":"s3://npm-registry-packages-npm-production"}},"0.3.21-debug.2":{"name":"@deco-cx/warp-node","version":"0.3.21-debug.2","keywords":["websocket","tunnel","proxy","warp","cloudflare","nodejs"],"author":{"name":"Deco"},"license":"MIT","_id":"@deco-cx/warp-node@0.3.21-debug.2","maintainers":[{"name":"marcosvcp","email":"marcoscandeia123@gmail.com"},{"name":"camudo","email":"viktor@deco.cx"},{"name":"igorbrasileiro","email":"brasileiro456@gmail.com"}],"homepage":"https://github.com/deco-cx/warp-node","bugs":{"url":"https://github.com/deco-cx/warp-node/issues"},"dist":{"shasum":"61f56a96bb3885ecfd7bbed1ff77471616cbbf54","tarball":"https://registry.npmjs.org/@deco-cx/warp-node/-/warp-node-0.3.21-debug.2.tgz","fileCount":64,"integrity":"sha512-60MyUXPWYBDdRiQNIbEZQwnYmarpv82HjH+HxqtT0nx7LA4hElSiXCF3SR7jIuXxFt29gqJ3+6GHYSmr/VI14w==","signatures":[{"sig":"MEYCIQDqE7AM19aQHWn6Dg/p7h9othGhjTgqeqINgEQn5kEtHgIhAKLnYPUe/yDiP6c9YDBSDW5ldzw+LFHmDQqeG/3jeL5W","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@deco-cx%2fwarp-node@0.3.21-debug.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":135021},"main":"dist/mod.js","type":"module","types":"dist/mod.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/mod.d.ts","import":"./dist/mod.js"}},"gitHead":"e9cd0320fd6dc3c0d37d07bd9d64f063fcb9ff46","scripts":{"dev":"wrangler dev --port 8000","test":"vitest run","build":"tsc","deploy":"wrangler deploy","test:ui":"vitest --ui","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"camudo","email":"viktor@deco.cx"},"repository":{"url":"git+https://github.com/deco-cx/warp-node.git","type":"git"},"_npmVersion":"10.9.2","description":"WebSocket tunneling library for Node.js and other runtimes","directories":{},"_nodeVersion":"22.17.1","dependencies":{"ws":"^8.18.0","undici":"^6.21.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.8","wrangler":"^3.91.0","@types/ws":"^8.5.13","@vitest/ui":"^2.1.8","typescript":"^5.5.2","@types/node":"^22.10.1","@cloudflare/workers-types":"^4.20241127.0"},"_npmOperationalInternal":{"tmp":"tmp/warp-node_0.3.21-debug.2_1754493769151_0.008115686823113366","host":"s3://npm-registry-packages-npm-production"}},"0.3.23":{"name":"@deco-cx/warp-node","version":"0.3.23","description":"WebSocket tunneling library for Node.js and other runtimes","type":"module","main":"dist/mod.js","types":"dist/mod.d.ts","keywords":["websocket","tunnel","proxy","warp","cloudflare","nodejs"],"author":{"name":"Deco"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/deco-cx/warp-node.git"},"homepage":"https://github.com/deco-cx/warp-node","bugs":{"url":"https://github.com/deco-cx/warp-node/issues"},"dependencies":{"ws":"^8.18.0","undici":"^6.21.0"},"devDependencies":{"@types/node":"^22.10.1","@types/ws":"^8.5.13","@cloudflare/workers-types":"^4.20241127.0","typescript":"^5.5.2","wrangler":"^3.91.0","vitest":"^2.1.8","@vitest/ui":"^2.1.8"},"scripts":{"build":"tsc","dev":"wrangler dev --port 8000","deploy":"wrangler deploy","typecheck":"tsc --noEmit","test":"vitest run","test:watch":"vitest","test:ui":"vitest --ui","prepublishOnly":"npm run build"},"engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/mod.d.ts","import":"./dist/mod.js"}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"gitHead":"c8e8f243af52c2f40a88fc41b3d304f2b6893d70","_id":"@deco-cx/warp-node@0.3.23","_nodeVersion":"22.22.3","_npmVersion":"11.15.0","dist":{"integrity":"sha512-GMh6Msj62wAvc+YbmIc8FoaIZy/cGUlEwR+FbgDl/08TomJRd3jCV8Tbrb38dIAdHlkmEc5UviLAnx5rfet3OQ==","shasum":"1b69863374e92d08a748890bfd8b9c1d5194eb76","tarball":"https://registry.npmjs.org/@deco-cx/warp-node/-/warp-node-0.3.23.tgz","fileCount":64,"unpackedSize":135054,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@deco-cx%2fwarp-node@0.3.23","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICQvLSmTPn1UV61zb8TmaRitPgWBEToib+bt6/2EoQ50AiEA5aQso+cjMdYYszkrAFrbc4kfhROG9dLHh1dkHJ4QzMM="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2f478cde-5fb6-4093-b9f2-db2716e97f99"}},"directories":{},"maintainers":[{"name":"marcosvcp","email":"marcoscandeia123@gmail.com"},{"name":"camudo","email":"viktor@deco.cx"},{"name":"igorbrasileiro","email":"brasileiro456@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/warp-node_0.3.23_1779483216378_0.8488153279539021"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-28T17:25:05.739Z","modified":"2026-05-22T20:53:36.900Z","0.3.8":"2025-07-28T17:25:06.089Z","0.3.9":"2025-07-28T17:28:20.463Z","0.3.14":"2025-07-28T19:14:55.146Z","0.3.15":"2025-07-31T15:20:13.793Z","0.3.16":"2025-07-31T16:00:52.544Z","0.3.20":"2025-08-05T19:21:33.051Z","0.3.21-beta.1":"2025-08-05T20:18:37.138Z","0.3.21-beta.2":"2025-08-05T20:27:25.408Z","0.3.21-debug.1":"2025-08-05T20:54:57.246Z","0.3.21-debug.2":"2025-08-06T15:22:49.332Z","0.3.23":"2026-05-22T20:53:36.556Z"},"bugs":{"url":"https://github.com/deco-cx/warp-node/issues"},"author":{"name":"Deco"},"license":"MIT","homepage":"https://github.com/deco-cx/warp-node","keywords":["websocket","tunnel","proxy","warp","cloudflare","nodejs"],"repository":{"type":"git","url":"git+https://github.com/deco-cx/warp-node.git"},"description":"WebSocket tunneling library for Node.js and other runtimes","maintainers":[{"name":"marcosvcp","email":"marcoscandeia123@gmail.com"},{"name":"camudo","email":"viktor@deco.cx"},{"name":"igorbrasileiro","email":"brasileiro456@gmail.com"}],"readme":"[![NPM Version](https://img.shields.io/npm/v/@deco-cx/warp-node)](https://www.npmjs.com/package/@deco-cx/warp-node)\n[![NPM Downloads](https://img.shields.io/npm/dm/@deco-cx/warp-node)](https://www.npmjs.com/package/@deco-cx/warp-node)\n[![GitHub License](https://img.shields.io/github/license/deco-cx/warp-node)](https://github.com/deco-cx/warp-node/blob/main/LICENSE)\n\n# Warp Node\n\n**Warp Node** is a simple tool that allows your locally running HTTP(s) servers\nto have a public URL, serving as an easy-to-self-host alternative to services\nlike `ngrok`. Warp Node is implemented for Node.js and other JavaScript runtimes\nwith the goal of providing flexibility and minimal dependencies.\n\nThe project has two main components:\n\n- **Server**: Deployable on a server, it connects to the outside world and is\n  accessible from any domain.\n- **Client**: Runs locally to connect a given HTTP endpoint running on a local\n  or non-public network.\n\n<img width=\"1390\" alt=\"image\" src=\"https://github.com/deco-cx/warp/assets/5839364/914ab723-02cf-4a1a-9799-72671ffa5974\">\n\n## Installation\n\n```bash\nnpm install @deco-cx/warp-node\n```\n\n## Requirements\n\n- Node.js 22+ (for Node.js environments - requires Promise.withResolvers support)\n- Works in Cloudflare Workers, Deno, and other JavaScript runtimes\n\n## Server\n\nThe Warp server opens a single HTTP port to which the Warp client connects and\nupgrades to a WebSocket connection. Each request to this HTTP port is forwarded\n(based on the client's HOST header) to the corresponding connected Warp client\nconnection, which then serves the request.\n\n### Usage\n\nTo start the Warp server, import the `serve` function from the Warp package and\ncall it with the appropriate configuration.\n\n#### Example\n\n```typescript\nimport { serve } from \"@deco-cx/warp-node\";\n\nconst port = 8080; // The port where the Warp server will listen\nconst apiKeys = [\"YOUR_API_KEY1\", \"YOUR_API_KEY2\"]; // Array of API keys for authentication\n\nconst server = serve({ port, apiKeys });\nconsole.log(`Warp server listening on port ${port}`);\n```\n\n#### Parameters\n\n- `port`: The port number where the Warp server will listen for connections.\n- `apiKeys`: An array of API keys used for client authentication.\n\n## Client\n\nThe Warp client connects to the Warp server. Upon connection, the client shares\nthe given API key and the domain it wants to receive requests for.\n\n### Usage\n\nTo connect a client to the Warp server, import the `connect` function from the\nWarp package and call it with the appropriate configuration.\n\n#### Example\n\n```typescript\nimport { connect } from \"@deco-cx/warp-node\";\n\nconst port = 3000; // The local port you want to expose\nconst domain = \"www.your.domain.com\"; // The domain name for your service\nconst server = \"wss://YOUR_SERVER\"; // The WebSocket URL of your Warp server\nconst apiKey = \"YOUR_API_KEY\"; // The apiKey\n\nconst { registered, closed } = await connect({\n  domain,\n  localAddr: `http://localhost:${port}`,\n  server,\n  apiKey,\n});\n\nawait registered;\nconsole.log(\"Client registered successfully\");\n\nclosed.then(() => {\n  console.log(\"Connection closed\");\n});\n```\n\n#### Parameters\n\n- `domain`: The domain name that will be used to access your localhost service.\n- `localAddr`: The local address of the service you want to expose (e.g.,\n  `http://localhost:3000`).\n- `server`: The WebSocket URL of your Warp server (e.g., `wss://YOUR_SERVER`).\n- `apiKey`: The apiKey for connecting to the Warp server.\n\n#### Return Values\n\n- `registered`: A promise that resolves when the client has successfully\n  registered with the server.\n- `closed`: A promise that resolves when the connection to the server is closed.\n\n## Example Workflow\n\nHere’s a complete example of setting up a Warp server and client:\n\n### Server\n\n```typescript\nimport { serve } from \"@deco-cx/warp-node\";\n\nconst port = 8080;\nconst apiKeys = [\"YOUR_API_KEY1\", \"YOUR_API_KEY2\"];\n\nconst server = serve({ port, apiKeys });\nconsole.log(`Warp server listening on port ${port}`);\n```\n\n### Client\n\n```typescript\nimport { connect } from \"@deco-cx/warp-node\";\n\nconst port = 3000;\nconst domain = \"www.your.domain.com\";\nconst server = \"wss://YOUR_SERVER\";\nconst apiKey = \"API_KEY\";\n\n(async () => {\n  const { registered, closed } = await connect({\n    domain,\n    localAddr: `http://localhost:${port}`,\n    server,\n    apiKey,\n  });\n\n  await registered;\n  console.log(\"Client registered successfully\");\n\n  closed.then(() => {\n    console.log(\"Connection closed\");\n  });\n})();\n```\n\n## Runtime Compatibility\n\nWarp Node is designed to work across multiple JavaScript runtimes:\n\n- **Node.js 22+**: Full support with native HTTP and WebSocket handling\n- **Cloudflare Workers**: Works with WebSocketPair API\n- **Deno**: Compatible with Deno's WebSocket implementation\n- **Bun**: Should work with Bun's WebSocket support\n\nThe library automatically detects the runtime environment and uses the\nappropriate APIs.\n\n## TypeScript Support\n\nThis package includes full TypeScript definitions. No additional `@types`\npackages are needed.\n\n```typescript\nimport {\n  connect,\n  type ConnectOptions,\n  type HandlerOptions,\n  serve,\n} from \"@deco-cx/warp-node\";\n```\n\n## Troubleshooting\n\n### Common Issues\n\n- **Invalid API Key**: Ensure that the API key you are using is listed in the\n  `apiKeys` array on the server.\n- **Connection Refused**: Check that the server is running and accessible at the\n  specified WebSocket URL.\n- **Domain Not Accessible**: Ensure that the domain name is correctly configured\n  and pointing to the Warp server.\n- **Node.js Version**: Ensure you're using Node.js 22 or later for full\n  compatibility.\n\n## Contributing\n\nThis project is open source. Feel free to contribute by submitting issues or\npull requests.\n\n## License\n\nMIT License - see [LICENSE](./LICENSE) file for details.\n","readmeFilename":"README.md"}