{"_id":"@chubbyjs/chubbyjs-node-psr-http-message-bridge","_rev":"12-e5cc90326b5d0dcda7315f4b83422708","name":"@chubbyjs/chubbyjs-node-psr-http-message-bridge","dist-tags":{"latest":"1.3.0"},"versions":{"1.2.1":{"name":"@chubbyjs/chubbyjs-node-psr-http-message-bridge","version":"1.2.1","description":"A node req/res psr-htt-message bridge.","keywords":["chubbyjs","http-message","psr-7","node","req","res"],"author":{"name":"Dominik Zogg"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge.git"},"scripts":{"cs-fix":"prettier --write src tests","cs":"prettier --check src tests","test":"jest","infection":"stryker run","build":"tsc","prepare":"rm -Rf dist && npm run build && npm run cs && npm run test"},"jest":{"preset":"ts-jest","testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"coverageThreshold":{"global":{"lines":100}}},"prettier":{"printWidth":120,"tabWidth":4,"singleQuote":true,"trailingComma":"all"},"engines":{"node":">=12"},"dependencies":{"@chubbyjs/psr-http-factory":"^1.1.0","@chubbyjs/psr-http-message":"^1.2.1","@types/cookie":"^0.4.1","@types/node":"^12","@types/qs":"^6.9.7","cookie":"^0.4.1","qs":"^6.10.1"},"devDependencies":{"@chubbyjs/chubbyjs-mock":"^1.1.1","@stryker-mutator/core":"^5.3.0","@stryker-mutator/jest-runner":"^5.3.0","@types/jest":"^27.0.1","jest":"^27.1.0","prettier":"2.3.2","ts-jest":"^27.0.5","typescript":"^4.4.2"},"publishConfig":{"access":"public"},"gitHead":"e4fff2c778d3159d82d2c90c87efe9ed9d883322","bugs":{"url":"https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge/issues"},"homepage":"https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge#readme","_id":"@chubbyjs/chubbyjs-node-psr-http-message-bridge@1.2.1","_nodeVersion":"16.6.2","_npmVersion":"7.20.3","dist":{"integrity":"sha512-IvNpWq7/H/MS87RH+ZFPtYN2alQm1PWXFhJ2KLy4cqx+rex7DiXH1fI0EptG83M894P9GCwShN9ukB4JZy/AlQ==","shasum":"413181076720c914e45a4981d5b9b3368ffb17dd","tarball":"https://registry.npmjs.org/@chubbyjs/chubbyjs-node-psr-http-message-bridge/-/chubbyjs-node-psr-http-message-bridge-1.2.1.tgz","fileCount":7,"unpackedSize":10473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNNaDCRA9TVsSAnZWagAA/wcP/063WMz/MceasQ3Eeq1/\n73gJMLOJcEFg1fjHifmsE94TBjLuGCU61EfuMys74Ddbc/WgqlEudUq8r7VE\nqMiCnJIHQ8b5vmR7RWCfZEf9ajwbcM/QbKXCe36KKkGA373eYMv4yF5ZZwRi\nL7kybBg2jjufeSagbnvW8jAl56O/pRCixWl4BTb+Mf6lHq2modFr4Hmg7AQ0\nOscqXoiS/5wj639qFIU4XjZa3Im2oMrUdxj1ZaBRt9g438N/YFVmXsOhVF/N\neoWBAIftY5LvNU0nMU/TmkXSj6BKRu8QpCN/ER41xHKrtA0aNq+mU3z+yi4i\n+obNyseKaI+CN6oETfNrts1iqVYRVMyDRGYD1o9sDW8rBG9re3wq8cBQ7j8E\ngGejMZ4fOgXYeGP+lJWLNsFsCewJ5Bik89RzewlMfTiKHGmRZEocIndgdSSf\nV9rsFN/OIyQbnaQyDKhkgzpJz5mqgUzvTxx6JCz0d3heOHv3bOC9ZQ4qdKq/\nNL6o1+zPszF9E8OujJBrtstr6RzobvoFGnsW1GwyoKTM0G4WWLTRSHxTqyyA\nUNSfdOxrsmLZHzz+pO5qkXfgh4g+LihMEVZ4t8AX8uGVsnSdVbPVJEA1UMPd\ngl4bHXthK/rM0mfT7Hm7VMKU/23fTZG/SsupPcBEfxdxk2SIRbeQJ1V2AG6d\nqMsB\r\n=bYyK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOcgpcvHp2qvOQmVNSZmiKBpHaiLi9BU8UAsPvKL8vfAIhAKhaM1VTXqpPiD3CGlAlHXVjms+NA6wcY0Rl5WiJ5ZtZ"}]},"_npmUser":{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"},"directories":{},"maintainers":[{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chubbyjs-node-psr-http-message-bridge_1.2.1_1630852739212_0.35352439346860387"},"_hasShrinkwrap":false,"deprecated":"use @chubbyts/chubbyts-framework instead"},"1.2.2":{"name":"@chubbyjs/chubbyjs-node-psr-http-message-bridge","version":"1.2.2","description":"A node req/res psr-htt-message bridge.","keywords":["chubbyjs","http-message","psr-7","node","req","res"],"author":{"name":"Dominik Zogg"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge.git"},"scripts":{"cs-fix":"prettier --write src tests","cs":"prettier --check src tests","test":"jest","infection":"stryker run","build":"tsc","prepare":"rm -Rf dist && npm run build && npm run cs && npm run test"},"jest":{"preset":"ts-jest","testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"coverageThreshold":{"global":{"lines":100}}},"prettier":{"printWidth":120,"tabWidth":4,"singleQuote":true,"trailingComma":"all"},"engines":{"node":">=12"},"dependencies":{"@chubbyjs/psr-http-factory":"^1.1.0","@chubbyjs/psr-http-message":"^1.2.1","@types/cookie":"^0.4.1","@types/node":"^12","@types/qs":"^6.9.7","cookie":"^0.4.1","qs":"^6.10.1"},"devDependencies":{"@chubbyjs/chubbyjs-mock":"^1.1.1","@stryker-mutator/core":"^5.3.0","@stryker-mutator/jest-runner":"^5.3.0","@types/jest":"^27.0.1","jest":"^27.1.0","prettier":"2.3.2","ts-jest":"^27.0.5","typescript":"^4.4.2"},"publishConfig":{"access":"public"},"gitHead":"f69e6eb932c59f268afad731186767b0b03b5f51","bugs":{"url":"https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge/issues"},"homepage":"https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge#readme","_id":"@chubbyjs/chubbyjs-node-psr-http-message-bridge@1.2.2","_nodeVersion":"16.9.1","_npmVersion":"7.21.1","dist":{"integrity":"sha512-gR0+2havmDCB4O514Tb5T8tLBLiSHltwljttLOJLFSoJqkzXn6kjh3E3i1yqOGXAeDrqrE6p9WOMD1NKL30dug==","shasum":"1e3bd6e34ec2290a4544c3dc090c7399c67ce44e","tarball":"https://registry.npmjs.org/@chubbyjs/chubbyjs-node-psr-http-message-bridge/-/chubbyjs-node-psr-http-message-bridge-1.2.2.tgz","fileCount":7,"unpackedSize":10903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQxrfCRA9TVsSAnZWagAAjioP/jYtB9SgJWXQZsBWtuUz\nddGCMEbQ7Le+9NhbH37CQdbvKUYSLj7NnctBZaV38bh/Gaj+P+BM8yWBSW5m\nKB+V2nosvKIZyCvAatANJEwnAONrHCGG7nHFRgT838g2w7DoYDWSF+fp8kNx\nprX1JqMt2Sgdja2t01Ch36/l1BG/lu3oqRLhgy22cOJwA0rsR0y9u3xbFRzv\n4O3/Zcfx0vaNBgy0L4ljuqjKwUtcWmnX+Nu1qV4yPPcOSBS5B27DAcBGHQhu\nijkZeLZ7eFIOzjKwHah88nvMUmY6EUzhturaLibmfxlYBI7iYhc6mmDyex8B\nxQe6qO3qNit54dJotY0AO5vjSpwN61oG+Z7nfoSO5mwt25yw1xhStUBvsFih\nLSILZZbzbei4v+FvSjaFaDPGZ2lunhArng69HXvZfBHL4BzqvbgDJYqsYcRl\nGOb/IgjTDxOXcQdzob8P2HD+ROxRiYvcqAkuNObPhnvxcBJCdTGOymycDsuV\ntLF+qO0pJKialX3fOC02dkYswC359zZN8CeIaKG6BsbMM6g1VmIp2f/e6F9i\neX25+Kav2+ks4knomxbGWVEbCVNdeR32Aq8s6Fiv1e7eTOlWxQ04FvkrrEZu\nOwooH60UgMojXPFbdFCRYpLfQ8G+yeCcILENAQsNf0VSjN5DbvoeHGKaI2JI\n1hw+\r\n=fmas\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5t1izyzUlCTzziSnbcoYZzW5Td7KEIGv8j15kebMqpgIgGym+iqOY5J6UEAZBseOlJw22R3nmp/vXl2VWSWjZ1NE="}]},"_npmUser":{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"},"directories":{},"maintainers":[{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chubbyjs-node-psr-http-message-bridge_1.2.2_1631787743090_0.6717088049736613"},"_hasShrinkwrap":false,"deprecated":"use @chubbyts/chubbyts-framework instead"},"1.2.3":{"name":"@chubbyjs/chubbyjs-node-psr-http-message-bridge","version":"1.2.3","description":"A node req/res psr-htt-message bridge.","keywords":["chubbyjs","http-message","psr-7","node","req","res"],"author":{"name":"Dominik Zogg"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge.git"},"scripts":{"cs-fix":"prettier --write src tests","cs":"prettier --check src tests","test":"jest","infection":"stryker run","build":"tsc","prepare":"rm -Rf dist && npm run build && npm run cs && npm run test"},"jest":{"preset":"ts-jest","testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"coverageThreshold":{"global":{"lines":100}}},"prettier":{"printWidth":120,"tabWidth":4,"singleQuote":true,"trailingComma":"all"},"engines":{"node":">=12"},"dependencies":{"@chubbyjs/psr-http-factory":"^1.1.0","@chubbyjs/psr-http-message":"^1.2.1","@types/cookie":"^0.4.1","@types/node":"^12","@types/qs":"^6.9.7","cookie":"^0.4.1","qs":"^6.10.1"},"devDependencies":{"@chubbyjs/chubbyjs-mock":"^1.1.1","@stryker-mutator/core":"^5.3.0","@stryker-mutator/jest-runner":"^5.3.0","@types/jest":"^27.0.1","jest":"^27.1.0","prettier":"2.3.2","ts-jest":"^27.0.5","typescript":"^4.4.2"},"publishConfig":{"access":"public"},"gitHead":"a6ee1799b341acf1f4d7fef80bacef9a172f58d2","bugs":{"url":"https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge/issues"},"homepage":"https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge#readme","_id":"@chubbyjs/chubbyjs-node-psr-http-message-bridge@1.2.3","_nodeVersion":"16.9.1","_npmVersion":"7.21.1","dist":{"integrity":"sha512-XvwtsRDh3wXVfGcNn0iPiFHGsh+Ly5oezALK/2K+w2wVjORjKd6prwV8XOYi1E9D4CUxejJsyLGGW7AgozRgXw==","shasum":"56b1d5fef670ecb773c336e83f268aa5e81e2501","tarball":"https://registry.npmjs.org/@chubbyjs/chubbyjs-node-psr-http-message-bridge/-/chubbyjs-node-psr-http-message-bridge-1.2.3.tgz","fileCount":7,"unpackedSize":11046,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQx2dCRA9TVsSAnZWagAAASQQAIOt0MLOc+bKBK9O7AVv\nuV9dTWNIgADn5S75wqLG4p2pUJ5BnDlu5bGIqyrfkaqnnXQhabo2Edov9MQh\noQ2MgyUJzE1R7Gegm/ESipXwcqnsKZQt3vtP7sz6cysPraJYxnlrjP2cOTBT\nD685Lx9q00XZpE6xfmRN9c6WSoVGZH3HwIpL0eF1u1uzjKg2ehRxOJZVA2ZO\nWAKXLZjGneGuFvdDgcFb2HRFsMANbk/NTmN+sEym6tAR8hmxik488uYqIZaJ\n2s0TMS3CZsf8qI+9fr2eNWQFvrz4GbNK308ZUU+FFkIG2zJaA//xJdy6f8qZ\nv3loGL+CLPoTkE3Mp7xULCQZ3DfPCFEVimbYI6JeM5bBDf3mY7KEat9FDxty\niuhPfYUlivoy/sU9eNv8wBoARknZcENNWGH922UkeV8BCwlG33baKUFx87Zz\nzav0VWcyoBYrYPaT2Fr0ykLCrWQL4g4SwxGX1+liPuA9l5uhEWTUgs6fRzzr\nvyxMR4taedAJMYDNVFfP8NIMZIx2jIoJ/bnuO5wRDef5ORV1+I0rem9w7ylB\nOiBiP+tG9h1jGN0wYWIM8o0T1CL1OgJGT1A/8rRU6UX2Xg/bhlR2r9WBVmEP\nuo33eYtKO8qW92tYm2Z9U9Z6IwCbnRHqoknRvhtTHRSgnAv8VwUvK11hipyf\ngRxJ\r\n=OlMG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH7+OPojvzREiKaMpbCpXKAMsqWpd6i+kuoNtgIVXuABAiEAxko1NqXlK26++VqpWMVLY4qSwbN+HB1kWI1lreOcQOY="}]},"_npmUser":{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"},"directories":{},"maintainers":[{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chubbyjs-node-psr-http-message-bridge_1.2.3_1631788445683_0.5202282909548148"},"_hasShrinkwrap":false,"deprecated":"use @chubbyts/chubbyts-framework instead"},"1.3.0":{"name":"@chubbyjs/chubbyjs-node-psr-http-message-bridge","version":"1.3.0","description":"A node req/res psr-htt-message bridge.","keywords":["chubbyjs","http-message","psr-7","node","req","res"],"author":{"name":"Dominik Zogg"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge.git"},"scripts":{"cs-fix":"prettier --write src tests","cs":"prettier --check src tests","test":"jest","infection":"stryker run","build":"tsc","prepare":"rm -Rf dist && npm run build && npm run cs && npm run test"},"jest":{"preset":"ts-jest","testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"coverageThreshold":{"global":{"lines":100}}},"prettier":{"printWidth":120,"tabWidth":4,"singleQuote":true,"trailingComma":"all"},"engines":{"node":">=12"},"dependencies":{"@chubbyjs/psr-http-factory":"^1.1.0","@chubbyjs/psr-http-message":"^1.2.1","@types/cookie":"^0.4.1","@types/node":"^12","@types/qs":"^6.9.7","cookie":"^0.4.1","qs":"^6.10.1"},"devDependencies":{"@chubbyjs/chubbyjs-mock":"^1.1.1","@stryker-mutator/core":"^5.3.0","@stryker-mutator/jest-runner":"^5.3.0","@types/jest":"^27.0.1","jest":"^27.1.0","prettier":"2.3.2","ts-jest":"^27.0.5","typescript":"^4.4.2"},"publishConfig":{"access":"public"},"gitHead":"da781a5a38a44d6939290fff679ee8542c8eebf1","bugs":{"url":"https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge/issues"},"homepage":"https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge#readme","_id":"@chubbyjs/chubbyjs-node-psr-http-message-bridge@1.3.0","_nodeVersion":"16.9.1","_npmVersion":"7.21.1","dist":{"integrity":"sha512-dMl0ggMBd8/7KO3eFKr0epFLYkHQVnLRwvarbpnywykwBZg3dDBC2WTHDxMrHe/WdskjYPgbD8DEHFmMzallsA==","shasum":"15891feb7a5026bf4fd3f59f424aab9222332876","tarball":"https://registry.npmjs.org/@chubbyjs/chubbyjs-node-psr-http-message-bridge/-/chubbyjs-node-psr-http-message-bridge-1.3.0.tgz","fileCount":7,"unpackedSize":12060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2CsmCRA9TVsSAnZWagAAG+0P/2rGACoWDeBRHIWUPuE3\naMRufDBmO8ipiJ0AsdB8ZDza21R6FG+q3931OMjqhNLCYHp93CXw6iGuXK/B\np5dBzZ6KhVcrMiM2+8xfpN7uSvZCogtQkpY6TsOhc9Iewq/JdvjfsHxtNYHS\nAas/LT+dguy2EbPGt9mbUcU8bJxrpoMU7LTvz5SpN/6XR4StlmTEP9jtS35W\nYrMZpgd4eDV1Q+7FrcRycsczwoEspeKYagYfujHYSQgYMnHtUV6VVUqZnweq\noV9W9h1+V7/dt35Xd9mmTPP0iG0x4eW26RJQbHvObEmYZ/Cx/z3XiPKIhVkl\nERKvQ2aJLjyNjVxwtVO1DwptVYp8RioLTO3Txa1R+0dxos0fXqFK8tVGQLwx\nw0oz69PX8okvveI32mucpRGfQ3KRfypFqfcr+W66lhrSdc3HZWtwltVqKVI3\neTct+wpjElx9+8rMZPCKNqRe02m7ZoPKTL17N8E4e/zVwzLUftV3eBWydUsS\nXlSurbq959xjVCZ7x7RasllepYP+rqBaHGIq8YX5tr7dXtb0jI2pZVahSgfr\nQiuGzufHKF7qOiwaP0ulA8wKLtFFLVLwd+dtUDDHFYHHpXRT7zfC6E5dW33H\nh39twgYQ8nnZvD82Vk02ker47N9OLfhWHCmOsHyCmrL95C3Fw7nP0hyjrY4n\nRVFP\r\n=clo5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgvM3prUkXDWWY4ApTm+D19esB+FZHH3sRZwODO45j5wIgCawZW8jt989kVlO6PbcA2pmOL/+1pjU1X2qawvUajAg="}]},"_npmUser":{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"},"directories":{},"maintainers":[{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chubbyjs-node-psr-http-message-bridge_1.3.0_1631958224650_0.7834570172620745"},"_hasShrinkwrap":false,"deprecated":"use @chubbyts/chubbyts-framework instead"}},"time":{"created":"2021-09-01T16:50:35.794Z","1.0.0":"2021-09-01T16:50:35.994Z","modified":"2022-07-10T13:32:35.652Z","1.1.0":"2021-09-04T10:40:55.630Z","1.2.0":"2021-09-05T13:27:28.243Z","1.2.1":"2021-09-05T14:38:59.352Z","1.2.2":"2021-09-16T10:22:23.235Z","1.2.3":"2021-09-16T10:34:05.818Z","1.3.0":"2021-09-18T09:43:44.800Z"},"maintainers":[{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"}],"description":"A node req/res psr-htt-message bridge.","homepage":"https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge#readme","keywords":["chubbyjs","http-message","psr-7","node","req","res"],"repository":{"type":"git","url":"git+https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge.git"},"author":{"name":"Dominik Zogg"},"bugs":{"url":"https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge/issues"},"license":"MIT","readme":"# chubbyjs-node-psr-http-message-bridge\n\n[![CI](https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge/workflows/CI/badge.svg?branch=master)](https://github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge/actions?query=workflow%3ACI)\n[![Coverage Status](https://coveralls.io/repos/github/chubbyjs/chubbyjs-node-psr-http-message-bridge/badge.svg?branch=master)](https://coveralls.io/github/chubbyjs/chubbyjs-node-psr-http-message-bridge?branch=master)\n[![Infection MSI](https://badge.stryker-mutator.io/github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge/master)](https://dashboard.stryker-mutator.io/reports/github.com/chubbyjs/chubbyjs-node-psr-http-message-bridge/master)\n[![npm-version](https://img.shields.io/npm/v/@chubbyjs/chubbyjs-node-psr-http-message-bridge.svg)](https://www.npmjs.com/package/@chubbyjs/chubbyjs-node-psr-http-message-bridge)\n\n[![bugs](https://sonarcloud.io/api/project_badges/measure?project=chubbyjs_chubbyjs-node-psr-http-message-bridge&metric=bugs)](https://sonarcloud.io/dashboard?id=chubbyjs_chubbyjs-node-psr-http-message-bridge)\n[![code_smells](https://sonarcloud.io/api/project_badges/measure?project=chubbyjs_chubbyjs-node-psr-http-message-bridge&metric=code_smells)](https://sonarcloud.io/dashboard?id=chubbyjs_chubbyjs-node-psr-http-message-bridge)\n[![coverage](https://sonarcloud.io/api/project_badges/measure?project=chubbyjs_chubbyjs-node-psr-http-message-bridge&metric=coverage)](https://sonarcloud.io/dashboard?id=chubbyjs_chubbyjs-node-psr-http-message-bridge)\n[![duplicated_lines_density](https://sonarcloud.io/api/project_badges/measure?project=chubbyjs_chubbyjs-node-psr-http-message-bridge&metric=duplicated_lines_density)](https://sonarcloud.io/dashboard?id=chubbyjs_chubbyjs-node-psr-http-message-bridge)\n[![ncloc](https://sonarcloud.io/api/project_badges/measure?project=chubbyjs_chubbyjs-node-psr-http-message-bridge&metric=ncloc)](https://sonarcloud.io/dashboard?id=chubbyjs_chubbyjs-node-psr-http-message-bridge)\n[![sqale_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyjs_chubbyjs-node-psr-http-message-bridge&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=chubbyjs_chubbyjs-node-psr-http-message-bridge)\n[![alert_status](https://sonarcloud.io/api/project_badges/measure?project=chubbyjs_chubbyjs-node-psr-http-message-bridge&metric=alert_status)](https://sonarcloud.io/dashboard?id=chubbyjs_chubbyjs-node-psr-http-message-bridge)\n[![reliability_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyjs_chubbyjs-node-psr-http-message-bridge&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=chubbyjs_chubbyjs-node-psr-http-message-bridge)\n[![security_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyjs_chubbyjs-node-psr-http-message-bridge&metric=security_rating)](https://sonarcloud.io/dashboard?id=chubbyjs_chubbyjs-node-psr-http-message-bridge)\n[![sqale_index](https://sonarcloud.io/api/project_badges/measure?project=chubbyjs_chubbyjs-node-psr-http-message-bridge&metric=sqale_index)](https://sonarcloud.io/dashboard?id=chubbyjs_chubbyjs-node-psr-http-message-bridge)\n[![vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=chubbyjs_chubbyjs-node-psr-http-message-bridge&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=chubbyjs_chubbyjs-node-psr-http-message-bridge)\n\n## Description\n\nA node req/res psr-htt-message bridge.\n\n## Requirements\n\n * node: 12\n * [@chubbyjs/psr-http-factory][2]: ^1.1.0\n * [@chubbyjs/psr-http-message][3]: ^1.2.1\n * [cookie][4]: ^0.4.1\n * [qs][5]: ^6.10.1\n\n## Installation\n\nThrough [NPM](https://www.npmjs.com) as [@chubbyjs/chubbyjs-node-psr-http-message-bridge][1].\n\n```sh\nnpm i @chubbyjs/chubbyjs-node-psr-http-message-bridge@1.3.0 \\\n    @chubbyjs/chubbyjs-http-message@1.1.1\n```\n\n## Usage\n\n```ts\nimport NodeResponseEmitter from '@chubbyjs/chubbyjs-node-psr-http-message-bridge/dist/NodeResponseEmitter';\nimport PsrRequestFactory from '@chubbyjs/chubbyjs-node-psr-http-message-bridge/dist/PsrRequestFactory';\nimport ResponseFactory from '@chubbyjs/chubbyjs-http-message/dist/Factory/ResponseFactory';\nimport ServerRequestFactory from '@chubbyjs/chubbyjs-http-message/dist/Factory/ServerRequestFactory';\nimport StreamFactory from '@chubbyjs/chubbyjs-http-message/dist/Factory/StreamFactory';\nimport UriFactory from '@chubbyjs/chubbyjs-http-message/dist/Factory/UriFactory';\nimport { createServer, IncomingMessage, ServerResponse } from 'http';\n\nconst responseFactory = new ResponseFactory();\n\nconst psrRequestFactory = new PsrRequestFactory(\n    new ServerRequestFactory(),\n    new UriFactory(),\n    new StreamFactory()\n);\n\nconst nodeResponseEmitter = new NodeResponseEmitter();\n\nconst server = createServer(async (req: IncomingMessage, res: ServerResponse) => {\n    const serverRequest = psrRequestFactory.create(req);\n    const response = responseFactory.createResponse(200);\n\n    serverRequest.getBody().pipe(response.getBody());\n\n    nodeResponseEmitter.emit(response, res);\n});\n\nserver.listen(8080, '0.0.0.0');\n```\n\n## Copyright\n\nDominik Zogg 2021\n\n[1]: https://www.npmjs.com/package/@chubbyjs/chubbyjs-node-psr-http-message-bridge\n\n[2]: https://www.npmjs.com/package/@chubbyjs/psr-http-factory\n[3]: https://www.npmjs.com/package/@chubbyjs/psr-http-message\n[4]: https://www.npmjs.com/package/cookie\n[5]: https://www.npmjs.com/package/qs\n","readmeFilename":"README.md"}