{"_id":"tinyws","_rev":"12-150e653ac304669a5c97f5a33b7f2c55","name":"tinyws","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"tinyws","version":"0.0.0","keywords":["ws","express","tinyhttp","websocket","middleware","polka","http","server"],"author":{"url":"https://v1rtl.site","name":"v1rtl"},"license":"MIT","_id":"tinyws@0.0.0","maintainers":[{"name":"dropthebeatbro","email":"pilll.PL22@gmail.com"}],"homepage":"https://github.com/talentlessguy/tinyws#readme","bugs":{"url":"https://github.com/talentlessguy/tinyws/issues"},"dist":{"shasum":"7c71e18a50a0d4c0882d84771572cba6002b5c9f","tarball":"https://registry.npmjs.org/tinyws/-/tinyws-0.0.0.tgz","fileCount":5,"integrity":"sha512-8qEz4M9y8mpao3B32V6kgaiwFAUd5hmT8NyvJ1961tks2Vg2NEGMDcg3QJOahT16K0boxqh/CbGYn+iz+2AlQA==","signatures":[{"sig":"MEQCIGaREoMHhR03eQFdzvbMZWs3nawkYi3DRQGrWJQlZlrgAiBhw+PRfueml7xIN2G4MR3Z66W+LwfkR3J66KaEJJGqHg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmXj9CRA9TVsSAnZWagAAfnEP/iEk3lYr7/Ia1AZ9bLJ2\ny1e4cq/yb3zgUpOIrDS7deV+C5LY+KFILyQSPuQ7UOSaSPLpn0R9LEadN5C+\nGUvmM/dFRJ48jl+KbTh0YOoK70/e+DJUY2BP8v1Cozt68H46DteAb8+9tERX\nv+TnuHnCCEHm8O0JeDRzwehO38ER2WreAKUdsMtFW0ym0Fe4DO0Z4Ef3F6H6\nhd57ngOWCbxyCiszjZb84UgMIlMKYhoEpAjnW2gRpZ2VHKckHm1R0E2q+5PB\n3qEDQugn1j3n1Khe+DxZbbPZUH3QZT8VdQ+mT02xyydgPq0dS7QVdpPe+utc\nHcNE1PBovm0CEFRY1DCuTFLlMeTkD35tc41qBhYkDgK73Da6cYZkfncQSiGQ\nkpnc9qmNvHpmoGMdqs+AE2cmQtTFTbaeJw52LuIcjPgSiRdpSaAtFPYTBc99\nBLnXxli5f1klKRAf9mHRjXgRks04YUnaOQsm/5k5ifFWTgGPbleX62u527l0\nEpNyD+aZuxiPokseGDGBl0lLeZkpAyHsyO2ZorMi/tB3xUpikD5ARSf40K3R\nxCrz+nsnKMzWRtTiYFMzXtE0hEaOMhOmbsSh+Zgwt0AFIN13vR0mOzFVmq79\nU2WtLmGWSI/N4gkCXYXHjbG93zHYCz2Ph6omKH1oXiM6zK3zDcNaZ1JG2LEw\nZwKS\r\n=rAZZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js"},"./":{"import":"./dist/index.js"},"./package.json":{"import":"./package.json"}},"gitHead":"0381379d733e6d8358bada57bf500060b4669e0d","scripts":{"test":"node --loader ts-node/esm --experimental-specifier-resolution=node node_modules/uvu/bin.js","build":"rollup -c","test:report":"c8 report --reporter=text-lcov > coverage.lcov","test:coverage":"c8 --include=src pnpm test"},"_npmUser":{"name":"dropthebeatbro","email":"pilll.PL22@gmail.com"},"repository":{"url":"git+https://github.com/talentlessguy/tinyws.git","type":"git"},"_npmVersion":"7.11.2","description":"Tiny WebSocket middleware for Node.js based on ws.","directories":{},"_nodeVersion":"16.1.0","_hasShrinkwrap":false,"devDependencies":{"c8":"^7.7.2","ws":">=7","uvu":"^0.5.1","polka":"^1.0.0-next.14","tslib":"^2.2.0","rollup":"^2.47.0","express":"^4.17.1","ts-node":"^9.1.1","@types/ws":"^7.4.2","typescript":"^4.2.4","@types/node":"^15.0.2","@tinyhttp/app":"^1.3.3","@types/express":"^4.17.11","rollup-plugin-terser":"^7.0.2","rollup-plugin-filesize":"^9.1.1","@rollup/plugin-typescript":"^8.2.1"},"peerDependencies":{"ws":">=7"},"_npmOperationalInternal":{"tmp":"tmp/tinyws_0.0.0_1620670716489_0.980270594883901","host":"s3://npm-registry-packages"}},"0.0.1":{"name":"tinyws","version":"0.0.1","keywords":["ws","express","tinyhttp","websocket","middleware","polka","http","server"],"author":{"url":"https://v1rtl.site","name":"v1rtl"},"license":"MIT","_id":"tinyws@0.0.1","maintainers":[{"name":"dropthebeatbro","email":"pilll.PL22@gmail.com"}],"homepage":"https://github.com/talentlessguy/tinyws#readme","bugs":{"url":"https://github.com/talentlessguy/tinyws/issues"},"dist":{"shasum":"c142275c84fd1e72ed38b3261022ddaf37bec649","tarball":"https://registry.npmjs.org/tinyws/-/tinyws-0.0.1.tgz","fileCount":5,"integrity":"sha512-4dvP5Cdm3EPQKWXAdG599eiWRh8+Df/QdxCk1nn8ODWmJNS6CIZF3+b0FwcoZKD52ShJ8+6tB78nCU5U4aiZCg==","signatures":[{"sig":"MEUCIAlZHN725GueY+/1nubcb5QDtXzWLuJ+2y14GMn/UMmyAiEA0EZ9Jdr30g8OVkZJaWyVrDrUCBuj7heXkUCgzWtEXCs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmXuCCRA9TVsSAnZWagAAg7oQAI+xMZGW1Er4GZxmqD8r\nUFDQh1b19r4aFQYaM/6YessBR7q5ofDNDOyQ0pX4HxgYADpkBCDvefxVaDeY\nAQn0GtdLRJhvFNL1k0NVdpysI/kHxTFVtne5dkjEgSDZWVx27sa47k7wyX+k\n/VAYrz2LbBezlD4gwFYwYqfbpaFAAkaewsmR5FELiu7YdNNYlCPLqz2/po7M\n0WuHVWq0Eod9eBNo8zU8Pog2scB0DQwVzrZOip9Drh50x5qpocKzNsSZC/76\nZ4M3fz1BZRtLQNuUN1/4JcN7W8duRqudpzcMwLQ3EJg4f74w2oZAJ3EI9itX\nIx+RrrKxMh60z6BreVdXtvoHZxPPCiiFEgFtt86JZn2FFgasYOEOIKryo1At\nbcUccii1nG53lQiEDTG6tUL3cRJWo+nMRaub2QYsOXFhVOpJrcVhB8uclacc\nPl2G+n2nDG9okaaHglKpNTml/3zW/5snqk0gzbv3xT+x03HUzszb6GR+r5WW\n4WNMX9ZSs+HK7EJlVRhcW8dUkJ66YkJ/jVb6cNlht/GNU6tUTjVYLMMsgcXP\noaBoGPWOxKhJ62eed3gF7S9hpZzs6TNvl5hhMOQHTCmXnR7TmYxDgl4NTOke\ndQQxGOyk6AqAV8OUGS7KGKdcWJlduXvOZvrXdpICGht2JeNKISB04PXd9Ns6\n3pZy\r\n=HkGN\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"dist/index.d.ts","engines":{"node":">=12.4"},"exports":"./dist/index.js","gitHead":"f6dc936e8a4412317971ee16d0125128ab8642a0","scripts":{"test":"node --loader ts-node/esm --experimental-specifier-resolution=node node_modules/uvu/bin.js","build":"rollup -c","test:report":"c8 report --reporter=text-lcov > coverage.lcov","test:coverage":"c8 --include=src pnpm test"},"_npmUser":{"name":"dropthebeatbro","email":"pilll.PL22@gmail.com"},"repository":{"url":"git+https://github.com/talentlessguy/tinyws.git","type":"git"},"_npmVersion":"7.11.2","description":"Tiny WebSocket middleware for Node.js based on ws.","directories":{},"_nodeVersion":"16.1.0","_hasShrinkwrap":false,"devDependencies":{"c8":"^7.7.2","ws":">=7","uvu":"^0.5.1","polka":"^1.0.0-next.14","tslib":"^2.2.0","rollup":"^2.47.0","express":"^4.17.1","ts-node":"^9.1.1","@types/ws":"^7.4.2","typescript":"^4.2.4","@types/node":"^15.0.2","@tinyhttp/app":"^1.3.3","@types/express":"^4.17.11","rollup-plugin-terser":"^7.0.2","rollup-plugin-filesize":"^9.1.1","@rollup/plugin-typescript":"^8.2.1"},"peerDependencies":{"ws":">=7"},"_npmOperationalInternal":{"tmp":"tmp/tinyws_0.0.1_1620671362019_0.7929140136977639","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"tinyws","version":"0.0.2","keywords":["ws","express","tinyhttp","websocket","middleware","polka","http","server"],"author":{"url":"https://v1rtl.site","name":"v1rtl"},"license":"MIT","_id":"tinyws@0.0.2","maintainers":[{"name":"dropthebeatbro","email":"pilll.PL22@gmail.com"}],"homepage":"https://github.com/talentlessguy/tinyws#readme","bugs":{"url":"https://github.com/talentlessguy/tinyws/issues"},"dist":{"shasum":"a2113d5db67b899e9e9d85b689e962297e107a23","tarball":"https://registry.npmjs.org/tinyws/-/tinyws-0.0.2.tgz","fileCount":5,"integrity":"sha512-fk3VMq/SotrYU/F4B8kEuniaSmkFkwLQFcOqPFcaIWuZgkbk5ykqMNUdv+jG2aYfyCFfoAUcsVO3UxlvlQpBGg==","signatures":[{"sig":"MEQCIFvnoAzlm5YCRhrFN+TLiGkMtH7bSbqd/nIrM19e34lGAiB9/JZqYke2xrus6ImNw660xPkm0U5KfvnQZasjnfejig==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmpLWCRA9TVsSAnZWagAA8joP/iFlbXKiBXJeluiOqN2Y\nMEYo76vGZiOYfEH5K0nsHYiMOM8rkxor/+eTlu23B9C55HpllhCmMGL2YAsk\n/a4QZMWgSgtPMeY1/yNxKIVR2Lvy5edXqr0jf7bonNLe5/RfsPCN3q2/jMkq\naPJtz7ntKFoqrxGmrgFICQAAD2SbU5xHtj6f3k0TkfFalkj+c2ThUeudelT4\nGREm1PqvWkn9VWOuWmhvfsWUKd4ojY/ZB66EzTK+lY4U3r8SuuppYCn9BqxU\npsMdUu58EOJkjTw7PtzbuyZ++owSq/8i/AQjk4xwjjAgkCm82mRvTG66Jwe2\n51wh9RMUFEWdIRrWX31cIVZHwX/ylLG4dI53sVLbe6HVPBHgo6Ya4r8RGtLz\ngV3M+MTSlGCbRJi6lbRwZTDKmlZFFa5o3q30YQXOd1xFIybfpiz7VX44LHN2\nDvdQOd4xTBuVTA+r7RfYgYtoaXm0oeRKBBTwxfVDogf/eNlTV4ewK4oI56wl\njkEt/u4lRI5GTKMFxCgkNty6EL3ooSZS5KXyiop2D8H6kkyOkMpuFbK3RwI8\nOgwE/tuj3QwhaNWMVVF+K8VY70p2YkF+sx4yFXrRO6cmD6e2e/ZqIhSho5Y4\niGejBrKNugJQkCwgpqRq66eDobFVK1cxHh49s/Ui+Hz6D6arr8PlETaNik7x\nAPng\r\n=MYQK\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"dist/index.d.ts","engines":{"node":">=12.4"},"exports":"./dist/index.js","gitHead":"ab9ef4425d79a70303ae475aee6b442510e25024","scripts":{"lint":"eslint \"./**/*.ts\"","test":"node --loader ts-node/esm --experimental-specifier-resolution=node node_modules/uvu/bin.js","build":"rollup -c","format":"prettier --write \"./**/*.ts\"","test:report":"c8 report --reporter=text-lcov > coverage.lcov","test:coverage":"c8 --include=src pnpm test"},"_npmUser":{"name":"dropthebeatbro","email":"pilll.PL22@gmail.com"},"repository":{"url":"git+https://github.com/talentlessguy/tinyws.git","type":"git"},"_npmVersion":"7.11.2","description":"Tiny WebSocket middleware for Node.js based on ws.","directories":{},"_nodeVersion":"16.1.0","_hasShrinkwrap":false,"devDependencies":{"c8":"^7.7.2","ws":">=7","uvu":"^0.5.1","husky":"^6.0.0","polka":"^1.0.0-next.14","tslib":"^2.2.0","eslint":"^7.25.0","rollup":"^2.47.0","express":"^4.17.1","ts-node":"^9.1.1","prettier":"latest","@types/ws":"^7.4.2","typescript":"^4.2.4","@types/node":"^15.0.2","@tinyhttp/app":"^1.3.3","@types/express":"^4.17.11","@commitlint/cli":"^12.1.1","rollup-plugin-terser":"^7.0.2","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","rollup-plugin-filesize":"^9.1.1","@rollup/plugin-typescript":"^8.2.1","@typescript-eslint/parser":"^4.22.0","@commitlint/config-conventional":"^12.1.1","@typescript-eslint/eslint-plugin":"^4.22.0"},"peerDependencies":{"ws":">=7"},"_npmOperationalInternal":{"tmp":"tmp/tinyws_0.0.2_1620742869988_0.6288259679968695","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"tinyws","version":"0.0.3","keywords":["ws","express","tinyhttp","websocket","middleware","polka","http","server"],"author":{"url":"https://v1rtl.site","name":"v1rtl"},"license":"MIT","_id":"tinyws@0.0.3","maintainers":[{"name":"dropthebeatbro","email":"pilll.PL22@gmail.com"}],"homepage":"https://github.com/talentlessguy/tinyws#readme","bugs":{"url":"https://github.com/talentlessguy/tinyws/issues"},"dist":{"shasum":"a76c1798e7e105b5b643d23b9e1a80c338472f14","tarball":"https://registry.npmjs.org/tinyws/-/tinyws-0.0.3.tgz","fileCount":5,"integrity":"sha512-y9cSz46l8QcRUk19r9X01/s2Sbg5Oil6jHZAbMPArvCDl7lNTTrW10L5I/B4DRRyjiulF7i0+d/5r/EsUe0kyQ==","signatures":[{"sig":"MEYCIQC3T9u9mQxOc4aSttUNr/WUcRxW/pMN2iSAkjlWg6e7gwIhAMY/LVf+qH8HY3CsbdENOgdERMHsj5uNGiAAxArRvZop","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgoXqlCRA9TVsSAnZWagAA7FUP/0Y3rxJzy5yhnMkmVjzo\nId4vqIiuQHwjbHXRQXCavI3yumwaZt75xIepOP344i3Y/fYF84HV92WZrCZX\nxqdrPFtd7mTs58IpEI1vu4VvgB6kkOdhTTbXzwW2dWGBgAAIeoyd1rRRjhFf\nBkh6JjjdS38sfABXfRuNvTVjd3oUocgI1eoD3J7VP7QMf1xSpb8+VhWdrkUP\nuHQhYaicCw6bUQZZGiZmm3Gh/6gswdSPgXTVO4bUiqgh9CGbP+J0qKlT37AB\nFF4LB8Q0cXsU1bCqAq2qtSGoomC1RbZSeGX06NDodzUrnLnrG0uH2+J069VB\nkj2JqlU3QJyl6f4era1qKFw+ooDbmX6rVf9+AB+rr+Xft2o+HRR/Krr/Iw6h\nM+aSRoBYMBmKIZ1t0fP24ZbZfR+VgPLlLgzjilDICB8k0ASkvjDJSAPzj3uI\n6xkUh+Dn6VWe2enyipQ0h0mS4yYKYRN/j20dHT3FV78LF2mmxdYnm6K21dLC\nJWdWzI0Vceczp1rYNVq0nlRhzli5dzMbj2LeKPe/gFrhwmQpyAcrTFaTNu1p\n4ZghyZ0GBvGfvq3csNO94/ikh9XwJXjqPrhD4FAaC8os3cV8Y1tRNb8GJ3Sf\nVHZsIPlI1y0XnS8JLhq3SqozXYv58NbKlpxmDJa7bK5wNwcupMncuzcI7Wxt\n0bKa\r\n=5IMR\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"dist/index.d.ts","engines":{"node":">=12.4"},"exports":"./dist/index.js","gitHead":"01164c3d6402deb6a13f01fc5b3805497551a44f","scripts":{"lint":"eslint \"./**/*.ts\"","test":"node --loader ts-node/esm --experimental-specifier-resolution=node node_modules/uvu/bin.js","build":"rollup -c","format":"prettier --write \"./**/*.ts\"","test:report":"c8 report --reporter=text-lcov > coverage.lcov","test:coverage":"c8 --include=src pnpm test"},"_npmUser":{"name":"dropthebeatbro","email":"pilll.PL22@gmail.com"},"repository":{"url":"git+https://github.com/talentlessguy/tinyws.git","type":"git"},"_npmVersion":"7.11.2","description":"Tiny WebSocket middleware for Node.js based on ws.","directories":{},"_nodeVersion":"16.1.0","_hasShrinkwrap":false,"devDependencies":{"c8":"^7.7.2","ws":">=7","uvu":"^0.5.1","husky":"^6.0.0","polka":"^1.0.0-next.14","tslib":"^2.2.0","eslint":"^7.25.0","rollup":"^2.47.0","express":"^4.17.1","ts-node":"^9.1.1","prettier":"latest","@types/ws":"^7.4.2","typescript":"^4.2.4","@types/node":"^15.0.2","@tinyhttp/app":"^1.3.3","@types/express":"^4.17.11","@commitlint/cli":"^12.1.1","rollup-plugin-terser":"^7.0.2","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","rollup-plugin-filesize":"^9.1.1","@rollup/plugin-typescript":"^8.2.1","@typescript-eslint/parser":"^4.22.0","@commitlint/config-conventional":"^12.1.1","@typescript-eslint/eslint-plugin":"^4.22.0"},"peerDependencies":{"ws":">=7"},"_npmOperationalInternal":{"tmp":"tmp/tinyws_0.0.3_1621195428155_0.37989184102642315","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"tinyws","version":"0.0.4","keywords":["ws","express","tinyhttp","websocket","middleware","polka","http","server"],"author":{"url":"https://v1rtl.site","name":"v1rtl"},"license":"MIT","_id":"tinyws@0.0.4","maintainers":[{"name":"dropthebeatbro","email":"pilll.PL22@gmail.com"}],"homepage":"https://github.com/talentlessguy/tinyws#readme","bugs":{"url":"https://github.com/talentlessguy/tinyws/issues"},"dist":{"shasum":"ffc34a0bedc2029ab058c3650d269425f556683b","tarball":"https://registry.npmjs.org/tinyws/-/tinyws-0.0.4.tgz","fileCount":5,"integrity":"sha512-zZU7WnVSpI3HciZ82PWfEM7SAW2OJbAOpPKob7dF9wRwo5X9HTpGrfsvSm3HhhgOoK07W4og1VB7EkgnWAP45w==","signatures":[{"sig":"MEQCIHXNSmS3anj7iltK5CJRgB5iDJbnqqNgQSnEHP65KjulAiAmTV/4pFxwqWG4W4BeYU2BU2aJADV0/VzAR1L1jKWVKA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6101,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsLNoCRA9TVsSAnZWagAAqikP/1sbTVhqMGmbZkro76qt\n2bTqN19ZdVi5oGjuRE8F73YxkQGxcYCcDyJrc+bBxWnS2UGoTEipzFanKeJj\n85JcVwxEoQTWnSiN2/cVceSy4jjO8apxYAWUHQm68tgTljDTknq/GXNwXk1R\nZjIwLNIYbamWxvNfiWPBn9ATnXoe+1kqSp2oCgTbxaKqH5Vl3YpF9k7/bTXj\nR9aahIu9/r8OmUrr/2bHKN9Uo95PkxIvr4/YmhyhvSo+55ucdzVnxet7T5t+\n3frbQj68ThxyE2Ue9ado1OZLwa8yn9PhiIxhz7su2PwwYaZH/G16ijnhKnDs\nZ5rlqmPBY2TxQSq81AeyQ6ZlMUkEEoJULxrlTUw12xVp691VgDgH+QqiLcUr\njSgVur+xH+rWTdrFokTTR7pMNmVaPqykJR1Az+vQgRiwjgP3liRapBEaHQG2\nXIVnpn1k+8iTI5Y30eQ5jH7EDemKsGz32bRQthriWdzTwEElScnK7DEo42eI\nskFq+tfxSNqgFYj503O73p9VvIMsh8vp1IQiUmmkwJag70oL9Kpv5PyesSx2\nvCQLJhybRq27lGVX2UArwp5Cwoc4Ii+wbYdq8E9V7jptziRHUVszEpoN7rGO\nmJpkzEHTQ1KJBygmxCeagr1xafWIfz9xsmJIPgiT8W9DwBYvY3nTTKkP32eU\nSkMP\r\n=1meN\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"dist/index.d.ts","engines":{"node":">=12.4"},"exports":"./dist/index.js","gitHead":"2757ae943fd1d85446aaa3e9332dab2b60cdbe31","scripts":{"lint":"eslint \"./**/*.ts\"","test":"node --loader ts-node/esm --experimental-specifier-resolution=node node_modules/uvu/bin.js","build":"rollup -c","format":"prettier --write \"./**/*.ts\"","test:report":"c8 report --reporter=text-lcov > coverage.lcov","test:coverage":"c8 --include=src pnpm test"},"_npmUser":{"name":"dropthebeatbro","email":"pilll.PL22@gmail.com"},"repository":{"url":"git+https://github.com/talentlessguy/tinyws.git","type":"git"},"_npmVersion":"7.13.0","description":"Tiny WebSocket middleware for Node.js based on ws.","directories":{},"_nodeVersion":"16.2.0","_hasShrinkwrap":false,"devDependencies":{"c8":"^7.7.2","ws":"^7.4.6","uvu":"^0.5.1","husky":"^6.0.0","polka":"^0.5.2","tslib":"^2.2.0","eslint":"^7.27.0","rollup":"^2.50.2","express":"^4.17.1","ts-node":"^10.0.0","prettier":"^2.3.0","@types/ws":"^7.4.4","typescript":"^4.3.2","@types/node":"^15.6.1","@tinyhttp/app":"^1.3.6","@types/express":"^4.17.12","@commitlint/cli":"^12.1.4","rollup-plugin-terser":"^7.0.2","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","rollup-plugin-filesize":"^9.1.1","@rollup/plugin-typescript":"^8.2.1","@typescript-eslint/parser":"^4.25.0","@commitlint/config-conventional":"^12.1.4","@typescript-eslint/eslint-plugin":"^4.25.0"},"peerDependencies":{"ws":">=7"},"_npmOperationalInternal":{"tmp":"tmp/tinyws_0.0.4_1622192999292_0.5389885641485783","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"tinyws","version":"0.0.5","keywords":["ws","express","tinyhttp","websocket","middleware","polka","http","server"],"author":{"url":"https://v1rtl.site","name":"v1rtl"},"license":"MIT","_id":"tinyws@0.0.5","maintainers":[{"name":"dropthebeatbro","email":"pilll.PL22@gmail.com"}],"homepage":"https://github.com/talentlessguy/tinyws#readme","bugs":{"url":"https://github.com/talentlessguy/tinyws/issues"},"dist":{"shasum":"d7c11a35a106dc6049bb4d44ced61e44f25774ed","tarball":"https://registry.npmjs.org/tinyws/-/tinyws-0.0.5.tgz","fileCount":5,"integrity":"sha512-qp9nIm3uxdRjJzjsiZQ2zc3pxNDf8Gk99b1CHbUzx+sMGwBSyUw4tcD78x1SSTpnBUH6xgJ2+zf9N3sOqs812g==","signatures":[{"sig":"MEUCIQDm+OC7f0S+N+n15iJgtaJi1AdJNLgBUW79VZ9cZHqC5AIgVbme/m1+vjtBXCif1K1N9xfPr6RDHTmuFKN8zO7hMlg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5733,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg1NzGCRA9TVsSAnZWagAAHc8P/RWAiVjYGSRbWSvGRbP9\neUSTO1saxqLnKAfcwme0gmy+WjSZ60/ak1LsByquQbZKRpRQNO4mGXIGufJB\nH3DPsr8EmlI/PtEVM+/If5Lwn+mb2N0++n+6znu+KZLUvokoo6TFbCQ9FeKj\nfJsepC4LpSq1sz5QREDAQTmW2x2dKZNNxXUy0Uh8keTXdnNy/4AvNym1LQnd\neqkAiMXrKYmqDrtgAYCQ4HL4rLcQsunV4cz/N6kD0hcbWaiEvicc5wG398kn\nHOVBOt9t/i3zobRONk61gpJOmmEh/HaEJBqIOZpAUaEItFdr9S9+NnROt3MV\noEAceqI+DYvFoZVCuc8GuglbsfqoW9GmsiF0RrM9k68ZEaECTXY6tbf998c3\nK45QDgELKQmznYUA8n0iLHrrOFEUr7P1bx6nqs/fIAaZDRQuI2fmAMd0clVM\ncbyAXOw6m5o6IwOrv33un4mkVvLLpxi9n83gPrRLO1uK54iANizY7d5WSAnV\nYvuoe2fBvoCxjvyjoOtbrkeChdgM1MKdY2HmMKlTc0svYWZZq5nFPAld1OmF\n9q/Xlupg8hz7JJ1kMqJtiy40+esOtdMmjNpiJzYBbLmaj2uETF5XE/rRkl2G\n4WVmuatKctcgaBVmujymmOFAriHcXbJrt9hq7eHS3+SE0BMZzHOWsaNpIi90\nSS31\r\n=TVXo\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"dist/index.d.ts","engines":{"node":">=12.4"},"exports":"./dist/index.js","gitHead":"3e6d343ee18a4484830f7618014d250ee0ad1211","scripts":{"lint":"eslint \"./**/*.ts\"","test":"node --experimental-loader esbuild-node-loader node_modules/uvu/bin.js test","build":"rollup -c","format":"prettier --write \"./**/*.ts\"","test:report":"c8 report --reporter=text-lcov > coverage.lcov","test:coverage":"c8 --include=src pnpm test"},"_npmUser":{"name":"dropthebeatbro","email":"pilll.PL22@gmail.com"},"repository":{"url":"git+https://github.com/talentlessguy/tinyws.git","type":"git"},"_npmVersion":"7.15.1","description":"Tiny WebSocket middleware for Node.js based on ws.","directories":{},"_nodeVersion":"16.3.0","_hasShrinkwrap":false,"devDependencies":{"c8":"^7.7.3","ws":"^7.5.0","uvu":"^0.5.1","husky":"^6.0.0","tslib":"^2.3.0","eslint":"^7.29.0","rollup":"^2.52.2","prettier":"^2.3.1","@types/ws":"^7.4.5","typescript":"^4.3.4","@types/node":"^15.12.4","@tinyhttp/app":"^1.3.11","@commitlint/cli":"^12.1.4","esbuild-node-loader":"^0.1.1","rollup-plugin-terser":"^7.0.2","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","rollup-plugin-filesize":"^9.1.1","@rollup/plugin-typescript":"^8.2.1","@typescript-eslint/parser":"^4.28.0","@commitlint/config-conventional":"^12.1.4","@typescript-eslint/eslint-plugin":"^4.28.0"},"peerDependencies":{"ws":">=7"},"_npmOperationalInternal":{"tmp":"tmp/tinyws_0.0.5_1624562885585_0.4700642840193088","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"tinyws","version":"0.1.0","keywords":["ws","express","tinyhttp","websocket","middleware","polka","http","server"],"author":{"url":"https://v1rtl.site","name":"v1rtl"},"license":"MIT","_id":"tinyws@0.1.0","maintainers":[{"name":"dropthebeatbro","email":"pilll.PL22@gmail.com"}],"homepage":"https://github.com/talentlessguy/tinyws#readme","bugs":{"url":"https://github.com/talentlessguy/tinyws/issues"},"dist":{"shasum":"cf72993c4d6ca688b26822465658769a85e38af1","tarball":"https://registry.npmjs.org/tinyws/-/tinyws-0.1.0.tgz","fileCount":5,"integrity":"sha512-6WQ2FlFM7qm6lAXxeKnzsAEfmnBHz5W5EwonNs52V0++YfK1IoCCAWM429afcChFE9BFrDgOFnq7ligaWMsa/A==","signatures":[{"sig":"MEYCIQC2Ptks+Q00+7l+CK6/sSc460tQ9LJubst8IA5y7FCNHwIhALQ/7CFsDwn9625Lszgaxh31xWgOEaBmIbHrUVDYDmg3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh299nCRA9TVsSAnZWagAA1LcP/1bz4szVbgx8XGWqew/v\neDQdHukHcBUKQ2cE5UeGm4dyz4/iTFdLSdx1VDuGps2X9LSFzMozZ9SY1aL0\nNr409VGFMeoYsvaR6o2A/eYUNi6Odjb2UCP8IgeinXaWavPCyKDHIbYImM3D\nCF2t+fQW1MfQHEyyEcGaU2/eA/R8B/KogFtsH3TUf5DQ7Rs944BevWdh+e6R\nKgkBK1gXHZ8z+7piKKB2SNVbtwKbYzgpGfOBXV8ZHt7MI2QIYbLRaNKOocfi\njtrab2zU0MTwAaLJ5wA97QzsF8BBoX6vwxrfSpwlj+iomqmQUDP0VB+kYkMf\neijjY3hXQaYIQbTxKey4fvMOIfruaAka6sfq6wBqrBwOxOL4gckCSEOMCUPX\nAvU4SNQpKSBfRsgTB2xvBj3DUVfaC/zy9Sdbeh1zQurTvbk9Yk9J6Cvp7L+8\nPBGr8+q35N1a23n3drxQubmcvVGmup+q4efN/72amHcG3jwT2RY2CATG9tu5\n0VGLUJu8aFVwgKLc5KwP/OYW9cz2CAZj4L2zPQKqm7gdC9R4HA36DioNfMCS\nruq5mjmv60z8ZL3Jya4+TqvccqWtexY9ge1U8TCD/G8cZhw2UPGQ/OpoCTVL\nCZpvSP2vTv9j6xy2wnUU3oTk3Fw/aNLLKxgEq9v01uZjDxQ+2BYegkYyCuNx\n9+32\r\n=tRO2\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","_from":"file:tinyws-0.1.0.tgz","types":"dist/index.d.ts","engines":{"node":">=12.4"},"exports":"./dist/index.js","scripts":{"lint":"eslint \"./**/*.ts\"","test":"node --experimental-loader esbuild-node-loader node_modules/uvu/bin.js tests","build":"rollup -c","format":"prettier --write \"./**/*.ts\"","test:report":"c8 report --reporter=text-lcov > coverage.lcov","test:coverage":"c8 --include=src pnpm test"},"_npmUser":{"name":"dropthebeatbro","email":"pilll.PL22@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/talentlessguy/tinyws.git","type":"git"},"_npmVersion":"6.14.15","description":"Tiny WebSocket middleware for Node.js based on ws.","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"devDependencies":{"c8":"7.9.0","ws":"^8.2.2","uvu":"^0.5.1","husky":"^7.0.2","tslib":"^2.3.1","eslint":"^7.32.0","rollup":"^2.58.0","prettier":"^2.4.1","@types/ws":"^8.2.0","typescript":"^4.4.3","@types/node":"^16.10.2","@tinyhttp/app":"^2.0.5","@commitlint/cli":"^13.2.0","esbuild-node-loader":"^0.4.1","rollup-plugin-terser":"^7.0.2","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","rollup-plugin-filesize":"^9.1.1","@rollup/plugin-typescript":"^8.2.5","@typescript-eslint/parser":"^4.32.0","@commitlint/config-conventional":"^13.2.0","@typescript-eslint/eslint-plugin":"^4.32.0"},"peerDependencies":{"ws":">=8"},"_npmOperationalInternal":{"tmp":"tmp/tinyws_0.1.0_1633108446308_0.33115849173978273","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"tinyws","version":"1.0.0","description":"Tiny WebSocket middleware for Node.js based on ws.","engines":{"node":">=12.4"},"type":"module","exports":"./dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p tsconfig.build.json","test":"bun test","test:coverage":"bun test --coverage","lint":"biome check --write .","prepublishOnly":"bun test && bun run lint && bun run build"},"repository":{"type":"git","url":"git+https://github.com/tinyhttp/tinyws.git"},"keywords":["ws","express","tinyhttp","websocket","middleware","polka","http","server"],"author":{"name":"v1rtl","url":"https://v1rtl.site"},"license":"MIT","bugs":{"url":"https://github.com/tinyhttp/tinyws/issues"},"homepage":"https://github.com/tinyhttp/tinyws#readme","devDependencies":{"@biomejs/biome":"^1.9.4","@commitlint/cli":"^17.8.1","@commitlint/config-conventional":"^17.8.1","@tinyhttp/app":"^2.5.2","@types/bun":"^1.3.8","@types/express":"^4.17.25","@types/node":"^18.19.130","@types/ws":"^8.18.1","c8":"7.12.0","express":"^4.22.1","husky":"^8.0.3","polka":"^1.0.0-next.28","typescript":"^5.9.3","ws":"^8.19.0"},"peerDependencies":{"ws":">=8"},"gitHead":"7ef99a8d1263ddfe52e892a8d3d7dc0e5c7c01e1","_id":"tinyws@1.0.0","_nodeVersion":"22.22.0","_npmVersion":"11.8.0","dist":{"integrity":"sha512-2umB0LHOGlAbYw59G0a0sw08I1TKdcDA8gVcvO8ypyqEttW8o+Y1sd3AMReMESgbTo6c1UZpPfZAHrQKo+MtjQ==","shasum":"a071440e84683e665a14ec2051d530a66607bccf","tarball":"https://registry.npmjs.org/tinyws/-/tinyws-1.0.0.tgz","fileCount":5,"unpackedSize":7690,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tinyws@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDFRKpXu9+59qeTEE9Sw4Kq+6V9/MN/MuQVne900YD4kwIhAOuqtw9mkBNMYV2pXjPsmjnEKD1urtebIUfLiGEMWWRk"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e132649e-ed39-491d-93f7-9ae504ff405f"}},"directories":{},"maintainers":[{"name":"v1rtl","email":"npmjs.uyolv@fastmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tinyws_1.0.0_1769935394965_0.45220823475124927"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-10T18:18:36.426Z","modified":"2026-02-01T08:43:15.415Z","0.0.0":"2021-05-10T18:18:36.907Z","0.0.1":"2021-05-10T18:29:22.167Z","0.0.2":"2021-05-11T14:21:10.187Z","0.0.3":"2021-05-16T20:03:48.294Z","0.0.4":"2021-05-28T09:09:59.468Z","0.0.5":"2021-06-24T19:28:05.752Z","0.1.0":"2021-10-01T17:14:06.446Z","1.0.0":"2026-02-01T08:43:15.100Z"},"bugs":{"url":"https://github.com/tinyhttp/tinyws/issues"},"author":{"name":"v1rtl","url":"https://v1rtl.site"},"license":"MIT","homepage":"https://github.com/tinyhttp/tinyws#readme","keywords":["ws","express","tinyhttp","websocket","middleware","polka","http","server"],"repository":{"type":"git","url":"git+https://github.com/tinyhttp/tinyws.git"},"description":"Tiny WebSocket middleware for Node.js based on ws.","maintainers":[{"name":"v1rtl","email":"npmjs.uyolv@fastmail.com"}],"readme":"<div align=\"center\">\n<img src=\"https://raw.githubusercontent.com/tinyhttp/tinyws/master/logo.svg\" alt=\"tinyws\">\n<p><sub>🚡 tiny WebSocket middleware for Node.js</sub></p>\n<br />\n\n[![Version][v-badge-url]][npm-url] [![Downloads][dl-badge-url]][npm-url] [![GitHub Workflow Status][gh-actions-img]][github-actions] [![Codecov][cov-badge-url]][cov-url]\n\n</div>\n\n_**tinyws**_ is a WebSocket middleware for Node.js based on [ws](https://github.com/websockets/ws), inspired by [koa-easy-ws](https://github.com/b3nsn0w/koa-easy-ws).\n\nCheck the [chat example](examples/chat) out to get familiar with tinyws.\n\n## Features\n\n- Small size (**498B**)\n- Easy to use (only `req.ws` and nothing else)\n- Framework-agnostic (works with tinyhttp, express etc)\n- Written in TypeScript\n- Pure ESM\n\n## Why not [express-ws](https://github.com/HenningM/express-ws)?\n\nbecause express-ws is...\n\n- [Abandoned](https://github.com/HenningM/express-ws/issues/135) since 2018 💀\n- Doesn't come with types out of the box (have to install `@types/express-ws`)\n- Not compatible with tinyhttp and polka\n- Buggy as hell\n- Doesn't have tests\n\n## Install\n\n```sh\npnpm i ws tinyws\n```\n\n## Example\n\n```ts\nimport { App, Request } from '@tinyhttp/app'\nimport { tinyws, TinyWSRequest } from 'tinyws'\n\nconst app = new App<Request & TinyWSRequest>()\n\napp.use('/ws', async (req, res) => {\n  if (req.ws) {\n    const ws = await req.ws()\n\n    return ws.send('hello there')\n  } else {\n    res.send('Hello from HTTP!')\n  }\n})\n\nconst server = app.listen(3000)\ntinyws(app, server)\n```\n\n### Restricting WebSocket to specific paths\n\nYou can restrict WebSocket handling to specific paths using the `paths` option:\n\n```ts\n// Single path\ntinyws(app, server, { paths: '/ws' })\n\n// Multiple paths\ntinyws(app, server, { paths: ['/ws', '/socket'] })\n```\n\nSee [examples](examples) for express and polka integration.\n\n[v-badge-url]: https://img.shields.io/npm/v/tinyws.svg?style=for-the-badge&color=F55A5A&label=&logo=npm\n[npm-url]: https://www.npmjs.com/package/tinyws\n[cov-badge-url]: https://img.shields.io/coveralls/github/tinyhttp/tinyws?style=for-the-badge&color=F55A5A\n[cov-url]: https://coveralls.io/github/tinyhttp/tinyws\n[dl-badge-url]: https://img.shields.io/npm/dt/tinyws?style=for-the-badge&color=F55A5A\n[github-actions]: https://github.com/tinyhttp/tinyws/actions\n[gh-actions-img]: https://img.shields.io/github/actions/workflow/status/tinyhttp/tinyws/main.yml?branch=master&style=for-the-badge&color=F55A5A&label=&logo=github\n","readmeFilename":"README.md"}