{"_id":"@httptoolkit/httpolyglot","_rev":"14-5056243e8e26942f2d5a3faf23c8f20c","name":"@httptoolkit/httpolyglot","dist-tags":{"latest":"3.1.0"},"versions":{"0.2.0":{"name":"@httptoolkit/httpolyglot","version":"0.2.0","keywords":["http","https","multiplex","polyglot"],"author":{"name":"Tim Perry","email":"pimterry@gmail.com"},"_id":"@httptoolkit/httpolyglot@0.2.0","maintainers":[{"name":"pimterry","email":"pimterry@gmail.com"}],"homepage":"https://github.com/httptoolkit/httpolyglot#readme","bugs":{"url":"https://github.com/httptoolkit/httpolyglot/issues"},"dist":{"shasum":"42833eb2bd0627c4cf0ab816da8e81318b015f71","tarball":"https://registry.npmjs.org/@httptoolkit/httpolyglot/-/httpolyglot-0.2.0.tgz","fileCount":11,"integrity":"sha512-oTOzauUIkt0UA/mPsuKakhr1HT7kKDJrhpiBR8ApUcLSdWVSincQ1lSi89gRczxBiaimhOnEtzZ8KGBMNDxuvQ==","signatures":[{"sig":"MEUCIQD1a6fmRtmUUtfmiYnTKDa+RQhnIHNqQQL4Z/jrc2IzogIgebb7CpPCs+R8K8FzQ3uRvGUtI8sq+XjS2TFJ5Jj0APE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14301,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJelaQJCRA9TVsSAnZWagAAKzkP/0AWMarCBUFQeMfNpTH/\n+vOzcxjaGCKsB78jUu8LyKndLJFNozZVCLe/qlHDnSJ1xsoaqpcDZY08c6jH\nU7aPhOXtSL9pnwOurBi7xLSYQvuxSK047e6TSNmHAEUKqGCN3seNFArkvot8\nGD2XUGsgJSVBhRHqWdFdNib9+ibNHGiiDFBnhqZOatKSTCKLkV8Nf3dzlI1w\n0QQWGFt+zQ2SVUPdozbFV2vflWFhuslaPgHcb7wPvAIl9euADG/xoLaysIk7\njqmsjelVBO/tYVkX0kaP/reHoyypmPXBYfT0xA3FXghl/7f80lWrXG2izybe\ncKx59IHlBjICfHyRuCUEO26iqdP3gbKDY9B587zWa5s9C+DsmgumCwZgP2wb\njFOMnSuEQ76AeDjYMHvguIf3PSGX/31X2JYdE/eM3sQSSRwCAMe4zCJ8x0hd\nOut4jtwHAyeY9KH/zG7bEj2NHo44LrLv9gv0kE9U/gpIFNGOK97BF7s9EjUf\nQ11p720nHnSssP+gLIeZ2RRMmxcLe1tPblD1EFcFrz4Kq0e4OmY5wtI8o/Mr\n4JslkuUQnnNBovN88h/nCmxb7EkmN82DP8g2P+egD0iI1xp9yTwX/NSRrp3z\nH07QnGR9P/MHuwFbCb6FfxMFudCl1DSBkbiGIwNitS/YOz8K7beJP1hyfcUq\ntZfJ\r\n=28yO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","engines":{"node":">=8.0.0"},"gitHead":"2ddda121c4f392ec351244a25e2c5e0069c8b77c","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"pimterry","email":"pimterry@gmail.com"},"licenses":[{"url":"http://github.com/httptoolkit/httpolyglot/raw/master/LICENSE","type":"MIT"}],"repository":{"url":"git+ssh://git@github.com/httptoolkit/httpolyglot.git","type":"git"},"_npmVersion":"6.14.2","description":"Serve http and https connections over the same port with node.js","directories":{},"_nodeVersion":"10.15.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/httpolyglot_0.2.0_1586865161336_0.6495236420232076","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@httptoolkit/httpolyglot","version":"1.0.0","keywords":["http","https","http2","multiplex","polyglot"],"author":{"name":"Tim Perry","email":"pimterry@gmail.com"},"_id":"@httptoolkit/httpolyglot@1.0.0","maintainers":[{"name":"pimterry","email":"pimterry@gmail.com"}],"homepage":"https://github.com/httptoolkit/httpolyglot#readme","bugs":{"url":"https://github.com/httptoolkit/httpolyglot/issues"},"dist":{"shasum":"1b06642389303b71681b4c0c2caff8be53d58a10","tarball":"https://registry.npmjs.org/@httptoolkit/httpolyglot/-/httpolyglot-1.0.0.tgz","fileCount":10,"integrity":"sha512-OoIbv7pk/xh3Sxqs2nZyi5ZjP9JFLMBXgPmG/911rPf77PJ3tsIHaf22x5zVYcHeu0P7x6jC7QwLYcbJdUbe7w==","signatures":[{"sig":"MEQCIEhXSOCaAxfS+ajYi2tGd+uxoeJ4j0aprC7QqfXwryTbAiB0a4cggMpzxQq2WAzl1nYWugu41UoJzQ8vTtMClZxANg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIbzJCRA9TVsSAnZWagAA/R8P/3qbso25B5uISDi05Y8i\nZ+EWLVUwqp13/nUHTo/isOO02EGhXczNZgAVrWC1zwsYHFVdk2pvjaM6Fcie\nTAUFq5clIMsPwGQLi3mBH18P7ZPelb8Dx4Emvk/Fz6Ni5luuhLehM6OT2pWe\nuh11pzr7LI9NDKDSJQPWJhr7BbTEX7S69E8YYKJsPHK+h6sSddapMQ9PeQKK\nBF5VFAfnwHyDQrLkGvQ0PTu2hpTO1zkQx6ZbPUZrTU20Lim2UTEtT8a0+8J5\nreZuFHhHLgVsJS8LYKwi0iGzv3r5rVH5W0/kKmfzFYvwFUE5mtNMX+0op2lT\ngx3qvMYHXaega96rQsUK62srZnVbt42jih6DzoNvyCIVGbGW3dSrMGzPFIlV\nvF9//0mxUHzVWE2YV44siiftCAJqWfNhVClDRzabyLHs6TB6tLgfUQJXKhqp\nuPq9nWnr+Z++WdYxwS/TZ0QYDtwy2cxH5/fktBxiY6ocKPGJGh8LUav9ZgGW\n9tjO9Q4Y+B9gQc5/TMfhDoGOef1p9yxLcF4vMBcRL/HcQ/c9ddXXK8yPj5Ug\niPSI0xpThowhaU+UQttenRhw9sIi+gWE2JuvY6HDSj08/2gFLPIYmKYsqgTV\n5vMjJMPX9RS91XDeIcedixQzDsfXnuzL1MJ+sUxJqSjRvaG7YqnzvoexCCvA\n5blJ\r\n=Ed+w\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","engines":{"node":">=8.0.0"},"gitHead":"8739c87fe748818e680b12427a81444728ffdd9d","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"pimterry","email":"pimterry@gmail.com"},"licenses":[{"url":"http://github.com/httptoolkit/httpolyglot/raw/master/LICENSE","type":"MIT"}],"repository":{"url":"git+ssh://git@github.com/httptoolkit/httpolyglot.git","type":"git"},"_npmVersion":"6.14.2","description":"Serve http and https connections over the same port with node.js","directories":{},"_nodeVersion":"10.21.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/httpolyglot_1.0.0_1596046537089_0.3385842719250787","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@httptoolkit/httpolyglot","version":"1.0.1","keywords":["http","https","http2","multiplex","polyglot"],"author":{"name":"Tim Perry","email":"pimterry@gmail.com"},"_id":"@httptoolkit/httpolyglot@1.0.1","maintainers":[{"name":"pimterry","email":"pimterry@gmail.com"}],"homepage":"https://github.com/httptoolkit/httpolyglot#readme","bugs":{"url":"https://github.com/httptoolkit/httpolyglot/issues"},"dist":{"shasum":"2ade7c70fecc8473f8f55d95defea99bf444a81b","tarball":"https://registry.npmjs.org/@httptoolkit/httpolyglot/-/httpolyglot-1.0.1.tgz","fileCount":7,"integrity":"sha512-wka8aO36+Ldb4d0V7fpKf4gd9netRa1odekK5BQnsJa3BwkKSIqOYlR51ZfoaGjifwx2WBTRQgHgtcc1wY1eEg==","signatures":[{"sig":"MEQCIEYrHFg8Ra1iesCQN9vob16GE+VeeIg/QuJCyNE1LWSJAiArOIqPLPEGwWoUoh+Cy0t+iUkE0AqGuevzuNA1JvwtKg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhML5qCRA9TVsSAnZWagAAtKYP/19SFBaTjwM8CmPwNF/A\nXqfadEdhSzNSTzGZkY/uizz9u667Hv0IAiL5JhZgvmlcpxfqqPYv/E4HM9pH\ngJEnZiTk9yWdDImczZFrpdx9fhE0W6pqV8R7J2AqTlTiGWJwZ/BY+uu32++p\nmbk/D7L+s234yNOO6KNh4bXT+hMTN9EsGENogqCDZsrT4SSfNhhOA3PKe6vI\n9Y+rkYPrdfsuVpRQ/Rsjx/C2U/M3GPIEhPpXTrfMtAsFaZSssC065Acb4uao\nmUsAqBUo0pnFl6U43Umt9b1CtXPDzEZWPQun6ytRMfcqTwUbsQdCeRE27o4l\naHw/QjNgBl77zqeuPxzjhG8DnQOF5R0611/BM8nOuy4nGa9pHUYhLejjGCqv\n1Dm/bo9UIeqO+8aL1pD7+gxZwLiisZYLHBAiAof8LK2mcHlUD78bHkT+dalG\nSP2D0EpxwBYvY2ivzdKxeNTmKdqxeCL3PVGWQYJM8KjugM/vrfjDIAsZ5FwN\njcXU+Gsw6JeyLk0OsvhT4KyE6KnRgdkBXA8eovTAO5rxj5eX1lMHnGBMZNyS\ngUl3pc5rTdQ55qigkyMojwt65rqKPl/7yC+gFKfG4SeCFbt9wKJPO4LvXOFJ\nxFZfM4zKgMB1KdPzc2JFdj9IJHMd5flzqS0lZ9+m22b5OJGaFcndAMLp4v13\nMAUv\r\n=+A8r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=8.0.0"},"gitHead":"72fd7f3fae6e4537b8026ff29fd0618b52790882","scripts":{"test":"mocha -r ts-node/register 'test/**/*.spec.ts'","build":"tsc","prepack":"npm run build","pretest":"npm run build","prebuild":"rimraf dist/*"},"_npmUser":{"name":"pimterry","email":"pimterry@gmail.com"},"licenses":[{"url":"http://github.com/httptoolkit/httpolyglot/raw/master/LICENSE","type":"MIT"}],"repository":{"url":"git+ssh://git@github.com/httptoolkit/httpolyglot.git","type":"git"},"_npmVersion":"6.14.13","description":"Serve http and https connections over the same port with node.js","directories":{},"_nodeVersion":"14.17.0","dependencies":{"@types/node":"^16.7.10"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.1","rimraf":"^3.0.2","ts-node":"^10.2.1","typescript":"^4.4.2","@types/chai":"^4.2.21","@types/mocha":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/httpolyglot_1.0.1_1630584426033_0.6207717771334682","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@httptoolkit/httpolyglot","version":"2.0.0","keywords":["http","https","http2","multiplex","polyglot"],"author":{"name":"Tim Perry","email":"pimterry@gmail.com"},"_id":"@httptoolkit/httpolyglot@2.0.0","maintainers":[{"name":"pimterry","email":"pimterry@gmail.com"}],"homepage":"https://github.com/httptoolkit/httpolyglot#readme","bugs":{"url":"https://github.com/httptoolkit/httpolyglot/issues"},"dist":{"shasum":"fae19b807a4dab2bd5ca91a8bd9dc7a9c0164ee6","tarball":"https://registry.npmjs.org/@httptoolkit/httpolyglot/-/httpolyglot-2.0.0.tgz","fileCount":7,"integrity":"sha512-5bFBsDaDQv8L+QpuJeV76JOThH6tbOamuGwCasHuX1ZnIMEuCcF6mM6Y17JHXwswZkjPKQzBcF7NYNRCNPgemA==","signatures":[{"sig":"MEQCIHXf4Jf3K6MnNsoM3V5ZG6K2SaKM2rn2SRD1t2sYbzO8AiAoWgyW+yu9b3xK5Hh4cpU5MfwN3FYj+sCjVjU/Ul/LVA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23141,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhu4S1CRA9TVsSAnZWagAABwMQAIbcLXOZZKpTU7geGSz1\nkgYTomHC97w5cxIuWTwZANuAvXllZQDy+PrcMndVed/NLqhcHcmTT6KERdgu\nmNQJyWIh3ILM8bi6qS53RfuukfxUPl6cjBhLvdOXk1Ta14nAqQ9Cf2TuzXEN\n4/dPXc7l7FBFfq4Wq9q5W0PImgfyBeGxkHymZVv9cRF3LChF8ChPfWjkMrta\nBNCCtgadtEIIYBPMkap0FVFipcNDQYLSQMllc8AuZO5g8C6xcuoHX5Yx3odY\ncHmlOEqdH8fAjEomxI5GKK1c6zS9bpFxgL7JQe8grFuaRDs580phfXnKaAYZ\nrwJGlSreE5LNds8bj30HzhnVFtKIQP+vtuewrLC2xwv3FElxV10zoT9/zAke\nCT67q0VpIE4Ews2JnCyp1BXNxcQqwm79Nerip2PgvsvNcNlc+k7hMyIqQKlj\nPWk8n6cVBp72fQjnit4IL49FztFxXpmYKO5H6Kjh+LZfdUQoheiSh1Za1loB\nhTNpKNxPw+ITOV7mJU7KhzbGy+V3csbDU7fWHelvtYmxN4axpqKbE95VtTuA\ny9jCIyzAXbJ0hRiOQVbYGBxbuQZ+95wCBl9mK53rLfKT30uNWdOt53CDyeh/\nzpmFiVe3hsT9TywjRdP2ng204e0FlwDh74jh7TSkuD9HJJf5r1Zu/sMOlOuZ\nIVTi\r\n=WDM1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=12.0.0"},"gitHead":"f09b5e348db500f782ce2be6bb1bb38d7087a20e","scripts":{"test":"mocha -r ts-node/register 'test/**/*.spec.ts'","build":"tsc","prepack":"npm run build","pretest":"npm run build","prebuild":"rimraf dist/*"},"_npmUser":{"name":"pimterry","email":"pimterry@gmail.com"},"licenses":[{"url":"http://github.com/httptoolkit/httpolyglot/raw/master/LICENSE","type":"MIT"}],"repository":{"url":"git+ssh://git@github.com/httptoolkit/httpolyglot.git","type":"git"},"_npmVersion":"8.1.4","description":"Serve http and https connections over the same port with node.js","directories":{},"_nodeVersion":"14.17.0","dependencies":{"@types/node":"^16.7.10"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.1","rimraf":"^3.0.2","ts-node":"^10.2.1","typescript":"^4.4.2","@types/chai":"^4.2.21","@types/mocha":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/httpolyglot_2.0.0_1639679157739_0.48418721043809376","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@httptoolkit/httpolyglot","version":"2.0.1","keywords":["http","https","http2","multiplex","polyglot"],"author":{"name":"Tim Perry","email":"pimterry@gmail.com"},"_id":"@httptoolkit/httpolyglot@2.0.1","maintainers":[{"name":"pimterry","email":"pimterry@gmail.com"}],"homepage":"https://github.com/httptoolkit/httpolyglot#readme","bugs":{"url":"https://github.com/httptoolkit/httpolyglot/issues"},"dist":{"shasum":"1ee1c7f86b82adca7b7a5f7bf001181166c8b56f","tarball":"https://registry.npmjs.org/@httptoolkit/httpolyglot/-/httpolyglot-2.0.1.tgz","fileCount":7,"integrity":"sha512-xhz5ilhpQfEeLTKJMQmlUbvuS7yeFrF5u0M5zUDNpBWu/QMHrnBRxIfqRSV8phJThOpo1DBXuBld6qF07UFk4g==","signatures":[{"sig":"MEUCIQDjw/7I+r0TC3LykZWCbdZzLAe2w4sxwF81jnxyQIb7VgIgeqfeymUD2ha0sTvkQvOEsQ1ucoz1xTjx2MD6PccRRKE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhvLRWCRA9TVsSAnZWagAAK2UP/3lbL3Tn+Bqw6FewJ+wa\nJYYeiBdjAI4bBgOwn8AZCT0I+wPKJQFn5EMNPUtLHRYCOlpih2XhhgqqMRiH\nqPGTxVfY7EWjSKeQC08zm03/lmspu2aooBb3E2cQvIQOu8/Ni/PV97+tPbir\nxMOzvjOMfieaPv8rWF1A1XXdbPvzin/W/HMhotY75b1d1PXboHN5u2mij1Fo\nB8SccPnCNWn9So6LZgnWUE6oFxIW6DlSR65JSUmHigS1nGhgnVep4XZqmgMb\n95Didl9URH55xCcQyyS4633gRKJWe41D5O5Kwfutc15cRd34iAlARoYHy0mv\nbNaGDYuyEmKVyKJxNs+yt8tPSM9pmEnnhnv5gj/ITL5urm6ff5ODxqHjAz6h\n5ik4MO6RAiu6zi/0b0CysSiae5zhKfVtY6kV3rBIXjKKtNNdmY9eWLM1Jx46\npfBX4Qj+YLTcpBuhtx8jqeMkvYs7bj7YnB7zhdor/NT6noHG69X/OP4l7Y3g\nD8szpYxF6ThIVEu6nmG/YVhBPNA2JZq7W+0eeQ9PU5vIAUClLw7TeY/xjMnO\n9bA1eHcoXt0x8tQVQr+FZs/rI4gdBXoNIz3Us54V1/dVKjnSGFoPtDEkmygS\nC8S04pVn1bINfj06XnsxgVuj/nVXMTgHTUKeB3vomYCP9DpI3dMHaLzjVPWi\n+y7m\r\n=etE5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=12.0.0"},"gitHead":"f5a5ee12eb1c1010fbb9dac5410d012fffdb1012","scripts":{"test":"mocha -r ts-node/register 'test/**/*.spec.ts'","build":"tsc","prepack":"npm run build","pretest":"npm run build","prebuild":"rimraf dist/*"},"_npmUser":{"name":"pimterry","email":"pimterry@gmail.com"},"licenses":[{"url":"http://github.com/httptoolkit/httpolyglot/raw/master/LICENSE","type":"MIT"}],"repository":{"url":"git+ssh://git@github.com/httptoolkit/httpolyglot.git","type":"git"},"_npmVersion":"6.14.15","description":"Serve http and https connections over the same port with node.js","directories":{},"_nodeVersion":"12.22.6","dependencies":{"@types/node":"^16.7.10"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.1","rimraf":"^3.0.2","ts-node":"^10.2.1","typescript":"^4.4.2","@types/chai":"^4.2.21","@types/mocha":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/httpolyglot_2.0.1_1639756886343_0.7101548296307942","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@httptoolkit/httpolyglot","version":"2.1.0","keywords":["http","https","http2","multiplex","polyglot"],"author":{"name":"Tim Perry","email":"pimterry@gmail.com"},"_id":"@httptoolkit/httpolyglot@2.1.0","maintainers":[{"name":"pimterry","email":"pimterry@gmail.com"}],"homepage":"https://github.com/httptoolkit/httpolyglot#readme","bugs":{"url":"https://github.com/httptoolkit/httpolyglot/issues"},"dist":{"shasum":"61eaf272bad880e8d61a1e32d58127ba46045e4f","tarball":"https://registry.npmjs.org/@httptoolkit/httpolyglot/-/httpolyglot-2.1.0.tgz","fileCount":7,"integrity":"sha512-IkTpczmtH8XM/vAL5SL2/aLJYVD1m9KOMZEfl5AaI+xve7EBrj7NRPztk4YKC364tes3cnzCFg5JMjVpVqzWUw==","signatures":[{"sig":"MEQCIEndSgB4iyRjznEfedDH4JdhlVCD35vTMbD6iJNhsWaNAiAmFvEX/q2RVY+VwrCJiIpGcrPtcDt97KW2XpDyyWFvBA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWWBfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpkZg//V+siv0Fzkmi/BxT5hjxzsuK87LRatV+h9wPzOYkC2MvPKl1E\r\nRwcAzALTUnbJQXatrsjMW7RR16OqvguKaoRevxJu5YSz1Rr4MV+NjhoH3eF7\r\nB6h+SEqGFe1uT7OjwW3r5xTq9yLj39YJiN6Li7H6GXMItaiOHrYbu8DbMaU9\r\nQX4P/VVMOs7frAZm/bdTOvPqnp8RAXEE6R9tPQrwn23k3jkVo224L7RseMU4\r\npQsuUOUXopvBU1vO+27aPna351TGSK9RgDjf2WArXtKBtaIHSYdfi3yqObNL\r\nOjULCRzL596ZzETWgOZfbKiFQYcf2H79AKwXP1IrUob1KQtKaed76aYUdx2J\r\n/RJ9RC3Nu8nO3UKZT/Fa8+GtrpnmLdEjKLlf/onVAxHUtG+8uijr0bebzfcO\r\nD4QyBdjqPYX8yHlpr/Mr6sfGvowT0VPfgsl/W25JhNVwAmR8O/RaLBJXuNYH\r\n/0TPiGtS70shsTon3XnGpT5AT31e3KJf+bZevPKPAdWFtvFGrKj1zTmBQKt5\r\ni3h7ornSIurak5172aynfmDNZQwcQhBE/15bq4+eJ8OKuM5E382A35X/jxIf\r\ntU1BNb9u2RYElUkLAAmiwaAVGd3LkSwSfwFKnN9EoSSJI/BYjVap6E2FmRmy\r\n22pOHZivc4gPQCWEnaeNWYJY+8sxCrfMl9s=\r\n=syhy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=12.0.0"},"gitHead":"1de992e562e7e34298df054b7370ecb0247599d7","scripts":{"test":"mocha -r ts-node/register 'test/**/*.spec.ts'","build":"tsc","prepack":"npm run build","pretest":"npm run build","prebuild":"rimraf dist/*"},"_npmUser":{"name":"pimterry","email":"pimterry@gmail.com"},"licenses":[{"url":"http://github.com/httptoolkit/httpolyglot/raw/master/LICENSE","type":"MIT"}],"repository":{"url":"git+ssh://git@github.com/httptoolkit/httpolyglot.git","type":"git"},"_npmVersion":"8.11.0","description":"Serve http and https connections over the same port with node.js","directories":{},"_nodeVersion":"16.16.0","dependencies":{"@types/node":"^16.7.10"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.1","rimraf":"^3.0.2","ts-node":"^10.2.1","typescript":"^4.4.2","@types/chai":"^4.2.21","@types/mocha":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/httpolyglot_2.1.0_1666801759611_0.3837502082350426","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"@httptoolkit/httpolyglot","version":"2.1.1","keywords":["http","https","http2","multiplex","polyglot"],"author":{"name":"Tim Perry","email":"pimterry@gmail.com"},"_id":"@httptoolkit/httpolyglot@2.1.1","maintainers":[{"name":"pimterry","email":"pimterry@gmail.com"}],"homepage":"https://github.com/httptoolkit/httpolyglot#readme","bugs":{"url":"https://github.com/httptoolkit/httpolyglot/issues"},"dist":{"shasum":"c48737e68bc61a7bc8fa3a38f6bb7878921df850","tarball":"https://registry.npmjs.org/@httptoolkit/httpolyglot/-/httpolyglot-2.1.1.tgz","fileCount":7,"integrity":"sha512-TvJOb/9dYmOD1U8sErFKCy5BxQc7kbLuvvRLfsTr+NN9kQGNGRNyenC00mJxUn2ld/WtxPMNup3JICHPUOPXDg==","signatures":[{"sig":"MEUCIQCrPcSJAXyDekJSfIkYsl+bVg2ifRj2yJnVlGow9sgQGgIgZBi8rYuwcDeTdULMyi7TQna0tNH3CYFWckY1mdAA2UE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkS+b8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqaThAAoVc8fMhY5emVPuoEeMl2NnSJ9lO8qAN6fW7IHUTfuCMizukl\r\naQEFrMudY5dGrh7a7hVNv/0647P7Eqbh+sQr8Oyfw568m93WgZhoa/z5GU5d\r\nqEwS6KDX9hxb4U2jIzhVLHaWugAOV4siH3rP8PUuixLlbQ6wgaPFxYf6xhZe\r\nnrYzsL6WLGsNiMX+0hQsAoAcunfvHYjyaEWRexCMxsmIGB0NuUYjvl7HKTcc\r\nOTGrKj5yoLB+5JwK2HI6JYna7WvpL8+oGfKUTp2ps0vTrrEp/acH7TwaJfxn\r\n4W6Rcb0kBaCuBacY1fF40KROnBnw0rDh+ForeMGu0vO+r44HEPGmGSgI9eBa\r\ng4Fetb3DNL3Gvc6IJ0WDy576pQJ1TsywMcseFqOx3FOTAj+3/zUMTrVvM7Hi\r\necicOgRNUZbBtBHILibXyhHFixe65/121/LI7c85+dnWXr+SSPv42XQsFPPm\r\nwKaglYERncBPfYaL7/VaCVUXw+KpdTkYGzGiDXjmwlNnfSlw2boXdAtrUnxC\r\nq9L1AKbM2Ru4lo4AnfcOLx2CXEakL85svz0EPMef6EuW8b8fd3pSBM25pIsf\r\nDZnZ7GbqtW3Yqe5LdY0V1HDEZLavE3e2TE0Iy1WpngLeixPGlipsgj67fzqK\r\n7WeeAIYo0VutUBZiFaVp0Rm8yNN4ITeCduo=\r\n=SHbT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=12.0.0"},"gitHead":"3331df54ae094ebfa804b59f10d88ee33d96611f","scripts":{"test":"mocha -r ts-node/register 'test/**/*.spec.ts'","build":"tsc","prepack":"npm run build","pretest":"npm run build","prebuild":"rimraf dist/*"},"_npmUser":{"name":"pimterry","email":"pimterry@gmail.com"},"licenses":[{"url":"http://github.com/httptoolkit/httpolyglot/raw/master/LICENSE","type":"MIT"}],"repository":{"url":"git+ssh://git@github.com/httptoolkit/httpolyglot.git","type":"git"},"_npmVersion":"9.6.4","description":"Serve http and https connections over the same port with node.js","directories":{},"_nodeVersion":"20.0.0","dependencies":{"@types/node":"^16.7.10"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.1","rimraf":"^3.0.2","ts-node":"^10.2.1","typescript":"^4.4.2","@types/chai":"^4.2.21","@types/mocha":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/httpolyglot_2.1.1_1682695932526_0.5686842377646526","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@httptoolkit/httpolyglot","version":"2.2.0","keywords":["http","https","http2","multiplex","polyglot"],"author":{"name":"Tim Perry","email":"pimterry@gmail.com"},"_id":"@httptoolkit/httpolyglot@2.2.0","maintainers":[{"name":"pimterry","email":"pimterry@gmail.com"}],"homepage":"https://github.com/httptoolkit/httpolyglot#readme","bugs":{"url":"https://github.com/httptoolkit/httpolyglot/issues"},"dist":{"shasum":"f5ab7492a7a7a1e024c3f9cd83616d03afc307dd","tarball":"https://registry.npmjs.org/@httptoolkit/httpolyglot/-/httpolyglot-2.2.0.tgz","fileCount":7,"integrity":"sha512-GnlrGYrydDKiADojCXGrI2HIiOw8pvogW7zB03kpIkwAoLV5a9K0m01CFfXmGgSvOHGKvDp2T6QRMbE6e2B9tQ==","signatures":[{"sig":"MEYCIQCVL9ZBJ1ocSBK8uNW3xxdoz5NQQ3vU5ICwIzfnOjXUkAIhAP1AfVIOr5Q1ghxWLX9Syp2cYZIFYsBlC6PFq4FVj5Xk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28762},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=12.0.0"},"gitHead":"6d4e1b8156dbe1252702b70327edf0165d50d71c","scripts":{"test":"mocha -r ts-node/register 'test/**/*.spec.ts'","build":"tsc","prepack":"npm run build","pretest":"npm run build","prebuild":"rimraf dist/*"},"_npmUser":{"name":"pimterry","email":"pimterry@gmail.com"},"licenses":[{"url":"http://github.com/httptoolkit/httpolyglot/raw/master/LICENSE","type":"MIT"}],"repository":{"url":"git+ssh://git@github.com/httptoolkit/httpolyglot.git","type":"git"},"_npmVersion":"10.1.0","description":"Serve http and https connections over the same port with node.js","directories":{},"_nodeVersion":"20.8.0","dependencies":{"@types/node":"*"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.1","rimraf":"^3.0.2","ts-node":"^10.2.1","typescript":"^4.4.2","@types/chai":"^4.2.21","@types/mocha":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/httpolyglot_2.2.0_1701879411119_0.39885672448686305","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"@httptoolkit/httpolyglot","version":"2.2.1","keywords":["http","https","http2","multiplex","polyglot"],"author":{"name":"Tim Perry","email":"pimterry@gmail.com"},"_id":"@httptoolkit/httpolyglot@2.2.1","maintainers":[{"name":"pimterry","email":"pimterry@gmail.com"}],"homepage":"https://github.com/httptoolkit/httpolyglot#readme","bugs":{"url":"https://github.com/httptoolkit/httpolyglot/issues"},"dist":{"shasum":"311d1fed65c3ede75c718b1ad0580f1e4734c786","tarball":"https://registry.npmjs.org/@httptoolkit/httpolyglot/-/httpolyglot-2.2.1.tgz","fileCount":7,"integrity":"sha512-HOS/0zWc3yn7NM0RQFgBeepeTE8eAKtyOkcGL/TV6if5MAfr+3bH9rwCyAhbXbjlLVR3afeBRt8JYKEerDcygA==","signatures":[{"sig":"MEUCIQDWflj0HATCa1GiN2VOpakGMdYIqxop7lZwesHop58j+AIgd6Ff4EaDGuB26jD9F1M3UG0Imyuj2WJXyXHLyz8OxOs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28995},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=12.0.0"},"gitHead":"8f726e1fce599b7a1444444cab396e818306c5b0","scripts":{"test":"mocha -r ts-node/register 'test/**/*.spec.ts'","build":"tsc","prepack":"npm run build","pretest":"npm run build","prebuild":"rimraf dist/*"},"_npmUser":{"name":"pimterry","email":"pimterry@gmail.com"},"licenses":[{"url":"http://github.com/httptoolkit/httpolyglot/raw/master/LICENSE","type":"MIT"}],"repository":{"url":"git+ssh://git@github.com/httptoolkit/httpolyglot.git","type":"git"},"_npmVersion":"6.14.16","description":"Serve http and https connections over the same port with node.js","directories":{},"_nodeVersion":"12.22.12","dependencies":{"@types/node":"*"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.1","rimraf":"^3.0.2","ts-node":"^10.2.1","typescript":"^4.4.2","@types/chai":"^4.2.21","@types/mocha":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/httpolyglot_2.2.1_1701882203088_0.8935453346756299","host":"s3://npm-registry-packages"}},"2.2.2":{"name":"@httptoolkit/httpolyglot","version":"2.2.2","keywords":["http","https","http2","multiplex","polyglot"],"author":{"name":"Tim Perry","email":"pimterry@gmail.com"},"_id":"@httptoolkit/httpolyglot@2.2.2","maintainers":[{"name":"pimterry","email":"pimterry@gmail.com"}],"homepage":"https://github.com/httptoolkit/httpolyglot#readme","bugs":{"url":"https://github.com/httptoolkit/httpolyglot/issues"},"dist":{"shasum":"e36bad48f530546984724c45bd01d89c1acc020e","tarball":"https://registry.npmjs.org/@httptoolkit/httpolyglot/-/httpolyglot-2.2.2.tgz","fileCount":7,"integrity":"sha512-Mm75bidN/jrUsuhBjHAMoQbmR52zQYi8xr/+0mQYGW+dQelg+sdJR/kGRKKZGeAoPgp/1rrZWJqdohZP0xm18g==","signatures":[{"sig":"MEUCID+Di57KMQru8jTL08BwxAGTjo6AhgnVVz9Kd3tqscpHAiEAqklRfQisC40iJ4Rgj8hp5BTR5c+9itRRhSTwP9r3EPM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29456},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=12.0.0"},"gitHead":"ae1d80fc0894942088b654acc1e61951223e86d8","scripts":{"test":"mocha -r ts-node/register 'test/**/*.spec.ts'","build":"tsc","prepack":"npm run build","pretest":"npm run build","prebuild":"rimraf dist/*"},"_npmUser":{"name":"pimterry","email":"pimterry@gmail.com"},"licenses":[{"url":"http://github.com/httptoolkit/httpolyglot/raw/master/LICENSE","type":"MIT"}],"repository":{"url":"git+ssh://git@github.com/httptoolkit/httpolyglot.git","type":"git"},"_npmVersion":"10.2.4","description":"Serve http and https connections over the same port with node.js","directories":{},"_nodeVersion":"20.11.1","dependencies":{"@types/node":"*"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.1","rimraf":"^3.0.2","ts-node":"^10.2.1","typescript":"^4.4.2","@types/chai":"^4.2.21","@types/mocha":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/httpolyglot_2.2.2_1727876062773_0.3545121467084633","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@httptoolkit/httpolyglot","version":"3.0.0","keywords":["http","https","http2","multiplex","polyglot"],"author":{"name":"Tim Perry","email":"tim@httptoolkit.com"},"license":"MIT","_id":"@httptoolkit/httpolyglot@3.0.0","maintainers":[{"name":"pimterry","email":"pimterry@gmail.com"}],"homepage":"https://github.com/httptoolkit/httpolyglot#readme","bugs":{"url":"https://github.com/httptoolkit/httpolyglot/issues"},"dist":{"shasum":"b7f5588df6f9c119ce953d9e4f9f1aceddb51def","tarball":"https://registry.npmjs.org/@httptoolkit/httpolyglot/-/httpolyglot-3.0.0.tgz","fileCount":7,"integrity":"sha512-yT22g5mKLK4xQNRotwEZ4J2lRYCeDa69dlNQgjwO1uFidfwOG0iExIzaSf5juajjUIHc1/nnHDegj8ON0S6g0w==","signatures":[{"sig":"MEYCIQCgialDzNVR46gnmFEllSZuIbcUm5eba44WVpvvAgBbxgIhAIoekR1+Lkt7w+mzKG52cZrB5WWZs1wUCG4Y6B+4yDp5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37547},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"220c12df09714730aadac865ad108e08fc25ecfa","scripts":{"test":"mocha -r ts-node/register 'test/**/*.spec.ts'","build":"tsc","prepack":"npm run build","pretest":"npm run build","prebuild":"rimraf dist/*"},"_npmUser":{"name":"pimterry","email":"pimterry@gmail.com"},"repository":{"url":"git+ssh://git@github.com/httptoolkit/httpolyglot.git","type":"git"},"_npmVersion":"10.9.2","description":"Serve http and https connections over the same port with node.js","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@types/node":"*"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.1","socks":"^2.8.4","rimraf":"^3.0.2","ts-node":"^10.2.1","typescript":"^4.4.2","@types/chai":"^4.2.21","@types/mocha":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/httpolyglot_3.0.0_1746019339952_0.008622783569368409","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"@httptoolkit/httpolyglot","version":"3.0.1","keywords":["http","https","http2","multiplex","polyglot"],"author":{"name":"Tim Perry","email":"tim@httptoolkit.com"},"license":"MIT","_id":"@httptoolkit/httpolyglot@3.0.1","maintainers":[{"name":"pimterry","email":"pimterry@gmail.com"}],"homepage":"https://github.com/httptoolkit/httpolyglot#readme","bugs":{"url":"https://github.com/httptoolkit/httpolyglot/issues"},"dist":{"shasum":"b76598a852232c59fcab98d717c22bef512e169f","tarball":"https://registry.npmjs.org/@httptoolkit/httpolyglot/-/httpolyglot-3.0.1.tgz","fileCount":7,"integrity":"sha512-fU9psZBRc49PfdrxFZ8W19SwVQ4+rrc0EYVxmy7H41y6/elaIu5p68wly4uLVt1DPD0K92MdN65GqP3N1ofZKg==","signatures":[{"sig":"MEYCIQCxx4k6OGNMECKAv5GSGnjZyY/og3YBeLNj2Cv+kLakKgIhAJb6HNEpunQynhhMQ0k0ya3/DFkeGHyzEosBq7Ycd+NO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38065},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"a7a91398e5d3fc3b5cbcc1dbc33dc30993f699a6","scripts":{"test":"mocha -r ts-node/register 'test/**/*.spec.ts'","build":"tsc","prepack":"npm run build","pretest":"npm run build","prebuild":"rimraf dist/*"},"_npmUser":{"name":"pimterry","email":"pimterry@gmail.com"},"repository":{"url":"git+ssh://git@github.com/httptoolkit/httpolyglot.git","type":"git"},"_npmVersion":"11.6.1","description":"Serve http and https connections over the same port with node.js","directories":{},"_nodeVersion":"22.20.0","dependencies":{"@types/node":"*"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^11.7.4","socks":"^2.8.4","rimraf":"^3.0.2","ts-node":"^10.2.1","typescript":"^5.9.3","@types/chai":"^4.2.21","@types/mocha":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/httpolyglot_3.0.1_1761584184860_0.11499493576707187","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"@httptoolkit/httpolyglot","version":"3.1.0","author":{"name":"Tim Perry","email":"tim@httptoolkit.com"},"description":"Serve http and https connections over the same port with node.js","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"prebuild":"rimraf dist/*","build":"tsc","prepack":"npm run build","pretest":"npm run build","test":"mocha -r ts-node/register 'test/**/*.spec.ts'"},"engines":{"node":">=20.0.0"},"keywords":["http","https","http2","multiplex","polyglot"],"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/httptoolkit/httpolyglot.git"},"dependencies":{"@types/node":"*"},"devDependencies":{"@types/chai":"^4.2.21","@types/mocha":"^9.0.0","chai":"^4.3.4","mocha":"^11.7.4","rimraf":"^3.0.2","socks":"^2.8.4","ts-node":"^10.2.1","typescript":"^5.9.3"},"gitHead":"89064d5801caf500032461048ceb72884d40d0c4","_id":"@httptoolkit/httpolyglot@3.1.0","bugs":{"url":"https://github.com/httptoolkit/httpolyglot/issues"},"homepage":"https://github.com/httptoolkit/httpolyglot#readme","_nodeVersion":"24.15.0","_npmVersion":"11.14.0","dist":{"integrity":"sha512-Y+1gebmcMZMjDepn2e+9TBM4D+t3jYYbOwbXL9/PKmJEcaN/sbpv/00skN9KLXs43+BQvHTZc+5J0AnC5+9qDg==","shasum":"9dd7e4c9e27b88692dd95785f377a5d295a4d095","tarball":"https://registry.npmjs.org/@httptoolkit/httpolyglot/-/httpolyglot-3.1.0.tgz","fileCount":7,"unpackedSize":38659,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@httptoolkit%2fhttpolyglot@3.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDQYEmne2Y6Yb8LHuMemVTbgcymkDxGJjbl2nT3g8IvqAIgPZP51rfuqOYnVS2kFDn8C2OIFhOvhICRk/mB/86nEBE="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40649f47-db7d-4674-9c75-65d45d3f8560"}},"directories":{},"maintainers":[{"name":"pimterry","email":"pimterry@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/httpolyglot_3.1.0_1778247654720_0.5654672236743861"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-14T11:52:41.160Z","modified":"2026-05-08T13:40:55.215Z","0.2.0":"2020-04-14T11:52:41.489Z","1.0.0":"2020-07-29T18:15:37.197Z","1.0.1":"2021-09-02T12:07:06.184Z","2.0.0":"2021-12-16T18:25:57.947Z","2.0.1":"2021-12-17T16:01:26.488Z","2.1.0":"2022-10-26T16:29:19.822Z","2.1.1":"2023-04-28T15:32:12.668Z","2.2.0":"2023-12-06T16:16:51.364Z","2.2.1":"2023-12-06T17:03:23.271Z","2.2.2":"2024-10-02T13:34:22.991Z","3.0.0":"2025-04-30T13:22:20.130Z","3.0.1":"2025-10-27T16:56:25.060Z","3.1.0":"2026-05-08T13:40:54.853Z"},"bugs":{"url":"https://github.com/httptoolkit/httpolyglot/issues"},"author":{"name":"Tim Perry","email":"tim@httptoolkit.com"},"license":"MIT","homepage":"https://github.com/httptoolkit/httpolyglot#readme","keywords":["http","https","http2","multiplex","polyglot"],"repository":{"type":"git","url":"git+ssh://git@github.com/httptoolkit/httpolyglot.git"},"description":"Serve http and https connections over the same port with node.js","maintainers":[{"name":"pimterry","email":"pimterry@gmail.com"}],"readme":"# Httpolyglot [![Build Status](https://github.com/httptoolkit/httpolyglot/workflows/CI/badge.svg)](https://github.com/httptoolkit/httpolyglot/actions) [![Available on NPM](https://img.shields.io/npm/v/@httptoolkit/httpolyglot.svg)](https://npmjs.com/package/@httptoolkit/httpolyglot)\n\n> _Part of [HTTP Toolkit](https://httptoolkit.com): powerful tools for building, testing & debugging HTTP(S)_\n\nA module for serving HTTP, HTTPS and HTTP/2 connections, all over the same port.\n\nForked from the original [`httpolyglot`](https://github.com/mscdex/httpolyglot) to fix various issues required for [HTTP Toolkit](https://httptoolkit.com), including:\n\n* Support for HTTP/2\n* Fixing `tlsClientError`: https://github.com/mscdex/httpolyglot/pull/11\n* Include initially sniffed bytes aren't lost in subsequent `clientError` events (https://github.com/mscdex/httpolyglot/issues/13)\n* Dropping support for very old versions of Node (and thereby simplifying the code somewhat)\n* Converting to TypeScript\n* Event subscription support (subscribe to `server.on(x, ...)` to hear about `x` from _all_ internal servers - HTTP/2, HTTP/1, TLS and net)\n* Adding support for SOCKS connections\n* Adding support for custom handling of unknown protocols\n\nRequirements\n============\n\n* [node.js](http://nodejs.org/) -- v20 or newer\n\n\nInstall\n============\n\n    npm install @httptoolkit/httpolyglot\n\n\nExamples\n========\n\n* Simple usage:\n\n```javascript\nimport * as httpolyglot from '@httptoolkit/httpolyglot';\nimport * as fs from 'fs';\n\nhttpolyglot.createServer({\n  tls: {\n    key: fs.readFileSync('server.key'),\n    cert: fs.readFileSync('server.crt')\n  }\n}, function(req, res) {\n  res.writeHead(200, { 'Content-Type': 'text/plain' });\n  res.end((req.socket.encrypted ? 'HTTPS' : 'HTTP') + ' Connection!');\n}).listen(9000, 'localhost', function() {\n  console.log('httpolyglot server listening on port 9000');\n  // visit http://localhost:9000 and https://localhost:9000 in your browser ...\n});\n```\n\n* Simple redirect of all http connections to https:\n\n```javascript\nimport * as httpolyglot from '@httptoolkit/httpolyglot';\nimport * as fs from 'fs';\n\nhttpolyglot.createServer({\n  tls: {\n    key: fs.readFileSync('server.key'),\n    cert: fs.readFileSync('server.crt')\n  }\n}, function(req, res) {\n  if (!req.socket.encrypted) {\n    res.writeHead(301, { 'Location': 'https://localhost:9000' });\n    return res.end();\n  }\n  res.writeHead(200, { 'Content-Type': 'text/plain' });\n  res.end('Welcome, HTTPS user!');\n}).listen(9000, 'localhost', function() {\n  console.log('httpolyglot server listening on port 9000');\n  // visit http://localhost:9000 and https://localhost:9000 in your browser ...\n});\n```\n\n\nAPI\n===\n\n* **createServer**([< _object_ >config, ]< _function_ >requestListener) - _Server_ - Creates and returns a new Server instance.\n\nIf no config is provided, this server handles HTTP/1 & HTTP/2 in plain text on the same port.\n\nIf a config is provided, it can contain:\n\n- `tls` - Either TLS configuration options for [`tls.createServer`](https://nodejs.org/api/tls.html#tlscreateserveroptions-secureconnectionlistener), or an existing `tls.Server` instance. Setting this option enables TLS, so that HTTP/1 & HTTP/2 are accepted over both plain-text & encrypted (HTTPS) connections on the same port. If configuration options are provided, Httpolyglot will handle TLS automatically. If a server is provided, the connection will be passed to it (by emitting the `connection` event) and Httpolyglot will wait for the server to emit `secureConnection` (the default TLS server event) to handle the content within.\n- `socks` - A `net.Server` instance, which will handle any incoming SOCKS connections. If this is provided, SOCKSv4 and SOCKSv5 connections will be emitted as `connection` events on this server. If not, all SOCKS connections will be treated like any other unknown protocol.\n- `unknownProtocol` - A `net.Server` instance, which will handle any unknown protocols. If this is provided, unrecognized protocols will be emitted as `connection` events on this server. If it's not provided, these connections will be passed to the HTTP server by default, which will typically result in a `clientError` event and a 400 HTTP response being sent to the client.\n\nHow it Works\n============\n\nTLS, HTTP, HTTP/2, SOCKS and other connections are easy to distinguish based on the first byte sent by clients trying to connect. See [this comment](https://github.com/mscdex/httpolyglot/issues/3#issuecomment-173680155) for more information.\n","readmeFilename":"README.md"}