{"_id":"isomorphic-ws","_rev":"12-20f4a618aace1343c92cc6f83f01adb3","name":"isomorphic-ws","description":"Isomorphic implementation of WebSocket","dist-tags":{"latest":"5.0.0","beta":"5.0.0-beta.3"},"versions":{"2.3.1":{"name":"isomorphic-ws","version":"2.3.1","description":"isomorphic ws","license":"MIT","browser":"browser.js","main":"node.js","dependencies":{"ws":"^2.3.1"},"_id":"isomorphic-ws@2.3.1","scripts":{},"_shasum":"876a9a6f656b95e5671100f0c4f628b7617af135","_from":".","_npmVersion":"4.5.0","_nodeVersion":"7.0.0","_npmUser":{"name":"heineiuo","email":"heineiuo@gmail.com"},"dist":{"shasum":"876a9a6f656b95e5671100f0c4f628b7617af135","tarball":"https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-2.3.1.tgz","integrity":"sha512-coyvBkp9BIJ/xT+qbcckAH9n1iC2GF7cpH5leAOK6JXXSC2x2vrRO0ZdvnHzD/C3p3LR3qwth1QQRS6a1KQ32A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDihNvBGEuJQiD7Fw4rCffhOZvj8u2XXdQZQdZejceAuQIhAIiavXN9tn+zMtUWCibZOVhGcC8DTWpzqouepDxVl7vo"}]},"maintainers":[{"name":"heineiuo","email":"heineiuo@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/isomorphic-ws-2.3.1.tgz_1493366579190_0.7316258219070733"},"directories":{}},"3.2.0":{"name":"isomorphic-ws","version":"3.2.0","description":"An isomorphic release of https://www.npmjs.com/package/ws","main":"node.js","browser":"browser.js","repository":{"type":"git","url":"git+https://github.com/heineiuo/isomorphic-ws.git"},"keywords":[],"author":{"name":"@heineiuo"},"license":"MIT","bugs":{"url":"https://github.com/heineiuo/isomorphic-ws/issues"},"homepage":"https://github.com/heineiuo/isomorphic-ws#readme","dependencies":{"ws":"3.2.0"},"files":["node.js","browser.js","README.md"],"gitHead":"d763495a996abc3cc3bd1325bda5b92dd2933b24","_id":"isomorphic-ws@3.2.0","_npmVersion":"5.4.2","_nodeVersion":"8.4.0","_npmUser":{"name":"heineiuo","email":"heineiuo@gmail.com"},"dist":{"integrity":"sha512-Xl6M6mpe7fYRCqKmqhDomDMXf9HLdlqMvqf9ONesOYBP8xXuN4CuWbgXj/k9cOmrBwsXokP6I1WNB+CHGInSGw==","shasum":"8d292b2b0551eed8df223a974a444fd18560d02a","tarball":"https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-3.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAenKRNhlJ8gXZlYUaKNkwYwsV7teyler53v7pG7C8ptAiASb8jF49inRW/MVnSVnErt2ijesnbRATRb5z2hRUZn8g=="}]},"maintainers":[{"name":"heineiuo","email":"heineiuo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isomorphic-ws-3.2.0.tgz_1507177734588_0.0820559523999691"},"directories":{}},"4.0.0":{"name":"isomorphic-ws","version":"4.0.0","description":"Isomorphic implementation of WebSocket","main":"node.js","browser":"browser.js","repository":{"type":"git","url":"git+https://github.com/heineiuo/isomorphic-ws.git"},"keywords":["browser","browsers","isomorphic","node","websocket","ws"],"author":{"name":"@heineiuo"},"license":"MIT","bugs":{"url":"https://github.com/heineiuo/isomorphic-ws/issues"},"homepage":"https://github.com/heineiuo/isomorphic-ws#readme","peerDependencies":{"ws":"*"},"files":["node.js","browser.js","README.md"],"gitHead":"605be49fea91a3785d9bae8d976f7f20e684b0e2","_id":"isomorphic-ws@4.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.2.0","_npmUser":{"name":"heineiuo","email":"heineiuo@gmail.com"},"dist":{"integrity":"sha512-jC4AzyLJxhgAr9OoI0ya5pT74cowiQui150oWxU18MNV4bMzYR3X67Q0gLwfUVSKpMSb+S1tTEkdDIw5QARp0g==","shasum":"7b528b238c920eeb3f5fe429ac416df669ea4cba","tarball":"https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.0.tgz","fileCount":4,"unpackedSize":1604,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCipSm24kXPdZjuJCSROOyDz6Ojk8NAFDV0LDfkzTTJxAIhAPhLXWvR0MqjzZYdhtnAYGe0xoUTOWfoRFhJjmPGo5qm"}]},"maintainers":[{"name":"heineiuo","email":"heineiuo@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isomorphic-ws_4.0.0_1518010286830_0.13246476411067265"},"_hasShrinkwrap":false},"4.0.1":{"name":"isomorphic-ws","version":"4.0.1","description":"Isomorphic implementation of WebSocket","main":"node.js","browser":"browser.js","repository":{"type":"git","url":"git+https://github.com/heineiuo/isomorphic-ws.git"},"keywords":["browser","browsers","isomorphic","node","websocket","ws"],"author":{"name":"@heineiuo"},"license":"MIT","bugs":{"url":"https://github.com/heineiuo/isomorphic-ws/issues"},"homepage":"https://github.com/heineiuo/isomorphic-ws#readme","peerDependencies":{"ws":"*"},"files":["index.d.ts","node.js","browser.js","README.md"],"gitHead":"99cf54389b9c70c4eb5f0ebdbc5fce9298b5c25f","_id":"isomorphic-ws@4.0.1","_npmVersion":"6.0.0","_nodeVersion":"9.2.0","_npmUser":{"name":"heineiuo","email":"heineiuo@gmail.com"},"dist":{"integrity":"sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==","shasum":"55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc","tarball":"https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz","fileCount":6,"unpackedSize":3891,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4oE0CRA9TVsSAnZWagAAW6oP/R3MRLNvprdIWKjRyBgN\nvzGna7hPKx0NC9WS3cBwZ3liNACrpNGM5n8WrJ2N8xHzIHMd/dWrPYR5HrgG\n5/7YcrqnGgKGPNXP33jIi1Yc/ASXPKYbSzxtYf1FvZCY1pl5WjD7D3+cGcr8\nSAZLh1KW5U6SY1kTFykqGQCio4chLU1T4NCUNt3fsmQ5Uz1T8DUJGJl61j2B\n29o4QMMOF6N0QmRiIE5AajWNWUCaji+6xWLR2VSyJRN/8nnnM8QCPGwXl96f\nKMr7iARs0Dag0amLdJ1AEYiUMZYnCDXfXW8KFq4YBAANWq9rozFkaKDnEn3E\neYM4Q2SvA9UIskss4RlB5A815l5J2V9yT6muggaHtznrAcNDbFk0sl8YfNah\nkm2vspJrdqS8IQq4UQbOpN139F1is4Tww+6SM9nyyrDdNNH//4aYxfRTUKvN\n2xtF8lRhEzNDxSUnIRjh/pveiBR1T/8RlMqmXvhORMyx3AV7IRVRzxRdAzAe\nT7vGWfleQ/T03NtFuEX1BbqISMRpE1drDgoBm8lwU94OLXDZMxtse+5I1ayx\nHnjqguIanVO4U6/l+qhfvUSB3An/EsctTxRNAmec1x97/xijm+/46JGZPNL8\n9a6sAOJAYMqvgoGQ+eRsEnbqUGmSsPqNyiQwnfOG7rCW2Wl61v2/LuV8hoqW\n5Ip2\r\n=QoZz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEmgY3j1hRytYGhL8D8KexBEABgfv17xwZN40Xitr873AiEAxjdPdkjX2urEzR9IYkJIOkx2HKXWPtb7rUqdwuN/MkI="}]},"maintainers":[{"name":"heineiuo","email":"heineiuo@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isomorphic-ws_4.0.1_1524793651679_0.5101292044583203"},"_hasShrinkwrap":false},"5.0.0-beta.1":{"name":"isomorphic-ws","version":"5.0.0-beta.1","description":"Isomorphic implementation of WebSocket","main":"node.js","types":"index.d.ts","browser":"browser.js","repository":{"type":"git","url":"git+https://github.com/heineiuo/isomorphic-ws.git"},"keywords":["browser","browsers","isomorphic","node","websocket","ws"],"author":{"name":"@heineiuo"},"license":"MIT","bugs":{"url":"https://github.com/heineiuo/isomorphic-ws/issues"},"homepage":"https://github.com/heineiuo/isomorphic-ws#readme","peerDependencies":{"ws":"*"},"readme":"# isomorphic-ws\n\nIsomorphic implementation of WebSocket.\n\nIt uses:\n- [ws](https://github.com/websockets/ws) on Node\n- [global.WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket) in browsers\n\n## Limitations\n\nBefore using this module you should know that\n[`ws`](https://github.com/websockets/ws/blob/master/doc/ws.md#class-websocket)\nis not perfectly API compatible with\n[WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket),\nyou should always test your code against both Node and browsers.\n\nSome major differences:\n\n- no `Server` implementation in browsers\n- no support for the constructor\n  [`options`](https://github.com/websockets/ws/blob/master/doc/ws.md#new-websocketaddress-protocols-options)\n  argument in browsers\n\n## Usage\n\nYou need to install both this package and [ws](https://github.com/websockets/ws):\n\n```\n> npm i isomorphic-ws ws\n```\n\nThen just require this package:\n\n```js\nconst WebSocket = require('isomorphic-ws');\n\nconst ws = new WebSocket('wss://echo.websocket.org/');\n\nws.onopen = function open() {\n  console.log('connected');\n  ws.send(Date.now());\n};\n\nws.onclose = function close() {\n  console.log('disconnected');\n};\n\nws.onmessage = function incoming(data) {\n  console.log(`Roundtrip time: ${Date.now() - data.data} ms`);\n\n  setTimeout(function timeout() {\n    ws.send(Date.now());\n  }, 500);\n};\n```\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","gitHead":"e7d264a562b5c9ad4a939a789c7ba43968f1ac38","_id":"isomorphic-ws@5.0.0-beta.1","_nodeVersion":"18.2.0","_npmVersion":"8.9.0","dist":{"integrity":"sha512-6UKwxKwifeEYWtZ//7eDURKD6zCMYvwZrjNN9nW3/MJ4mg8MaESKdmtlMSNtl0/2mv3fWfgVXpi3P8T/CKwXOQ==","shasum":"6c3d3f3f5b126911415cf68e218d07857e0e9183","tarball":"https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-5.0.0-beta.1.tgz","fileCount":6,"unpackedSize":4060,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUN73ZGK0eiWIz44RUGN6JOvLUqdK6694LbgOUHDJFBAIgKSzl6V+SkndtcacvbxLp4e4048Xsl9ZOtWHbZRBH1zY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJincAiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNGg/8CnLMfapiE+UsAJVwPVJERcLcOsiGULU0rlPg+7DG+5nOnGvQ\r\nXfvswu8pJprMIVdRAyQD/u+hCWq17uTdSIBT/6Rt9b+LemiJlapLaRJ2iCxo\r\nmc3GvovMXzRi8B2Y6skWdlSb+Au46z0DFU921N0gejN+3ksSMb/dgkXYB2GD\r\nszbn/MRqbyw9enMH5UZrw4Eoz11edT4+okMZSHDGmKuOf9ccuGuZdP3zvsiA\r\nVtxTDCWthbg5GO6fDIUsbSjLPfNtn2v+IPScnX8VwSPnA3o14fhKG+5uUjOO\r\nnhdlep+M+Bq+l4FZdxA0dddvmFjy3piV/SyueIvD/rua0889XEf8+5hs0ZPD\r\nX7WnTmcJ7g75IB+RsfYauDsE3L/6bdSXO3CviA+3Oh1VG46XOK5SUP6RbXfG\r\nxqDLR82ZNaN91JF7tselHUgeL9rtaNWAZ/3oe6A+OQQEtM02cr7ij9bZcMY0\r\nAbmyYGd6hXr+cJqaowhXR3teyuj9CXx0x9L4eVL/WIKOzylVSfA90uPHtaOz\r\nOS1D8hZbs2j3kBVXJq4oNk2Ip5fxSq8IeaH8aEvNFgtdZhCSi7kGN/cIJ6IF\r\nWVLk3Qf81mQhfIy+knEvWL+ctQYb2deuu0FQWBMCIsN5/vZJ5KOsB3QmD7j4\r\ndpoezq0p/LxpIdU9U2uA2OU+mdCVUfvPuY8=\r\n=fRMF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"heineiuo","email":"heineiuo@gmail.com"},"directories":{},"maintainers":[{"name":"heineiuo","email":"heineiuo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isomorphic-ws_5.0.0-beta.1_1654505506162_0.1358142496737882"},"_hasShrinkwrap":false},"5.0.0-beta.2":{"name":"isomorphic-ws","version":"5.0.0-beta.2","description":"Isomorphic implementation of WebSocket","main":"node.js","types":"index.d.ts","browser":"browser.js","repository":{"type":"git","url":"git+https://github.com/heineiuo/isomorphic-ws.git"},"keywords":["browser","browsers","isomorphic","node","websocket","ws"],"author":{"name":"@heineiuo"},"license":"MIT","bugs":{"url":"https://github.com/heineiuo/isomorphic-ws/issues"},"homepage":"https://github.com/heineiuo/isomorphic-ws#readme","peerDependencies":{"ws":"*"},"gitHead":"b255b999fc63a94af561b09ea7e877c3da7051c2","_id":"isomorphic-ws@5.0.0-beta.2","_nodeVersion":"18.4.0","_npmVersion":"8.12.1","dist":{"integrity":"sha512-sSdRj8HPwlqPCwCHlNOFuwuE6X0h8+74Q+myf5Lb+3mVpEZ89FOf6YztqZLgEVrprB+/PDFEnFiQHLqZ1InQcA==","shasum":"c899f1201c6c32e4d75ea02e8b6e1199fd14876a","tarball":"https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-5.0.0-beta.2.tgz","fileCount":6,"unpackedSize":4051,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFplghMubBYPiinFEWMDJ3RObWwDeoQ/iAKirmWYuSG+AiEAzj3ob2hV7s5MgyUgdLKfAEdvYrxU8yJN2iMkVl46X0E="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuYopACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrUYxAAl04lJHPKJxvRpw7jByeR05AN+UVUS3+4WiNkQg+IGsZii9PR\r\nRTO+xn8qBIE+PKQgDPK5FEtdprcOEW5AQOvqPlSLR66ti6UK8U/qDV9k1fPd\r\nHQf6/AcniZaCaxQjURJZWY+8Ws22ADWXKXQdPcX6+yjqkOeXYnEhFnQAvFvS\r\nThCiCmYXIx5C8E/7QfGbmWkaR3t0/kGA4rEQoDHI9coRQZ2YRYpZWumOmdNh\r\nT95AI/dDAdvQW6s6LgtPsVumHEGXMuPHIM0NPbQnpi2+PgpfXUjjIojONvtV\r\nUY4dRtqKxmuCNgNkakMsrMOP6pcPu+tYBP407x7TVktq2egY4MrGOMz1abUm\r\ndqxwJniPJ8YuHmDolsEs+cpjZIo+poVBuDv2YSLgkONbQbYjhrYU8kvkYB7u\r\nT5+VSDR+2mc1UfQKHbkiTDnVVRPibB5zNu7b8dFkLsFCksIRVVrfgM4IOEl8\r\nYFH6Hk+NSKKXmpTqZMR+r4iC2rbwDVp2UvLuBaL6H20Szo1MrZtHvB9iYQX1\r\n2GCrUkG1aZEmvQXtKNhMTO3yVrQFI1UC7YWMiD7QAxH+5jRrkfey7N4Nq2ig\r\nvtiol9c8fgbFQMS+V+pMk6Eyq1S7RNgpoDEJemyzbDZ5fdUr4K14vUNy9T6o\r\njQCF+rYSPFfHxTewNElcsoTUQjA3whfe/8Q=\r\n=mDXf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"heineiuo","email":"heineiuo@gmail.com"},"directories":{},"maintainers":[{"name":"heineiuo","email":"heineiuo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isomorphic-ws_5.0.0-beta.2_1656326697770_0.31470613288895577"},"_hasShrinkwrap":false,"deprecated":"this package has been deprecated"},"5.0.0-beta.3":{"name":"isomorphic-ws","version":"5.0.0-beta.3","description":"Isomorphic implementation of WebSocket","main":"node.js","types":"index.d.ts","browser":"browser.js","repository":{"type":"git","url":"git+https://github.com/heineiuo/isomorphic-ws.git"},"keywords":["browser","browsers","isomorphic","node","websocket","ws"],"author":{"name":"@heineiuo"},"license":"MIT","bugs":{"url":"https://github.com/heineiuo/isomorphic-ws/issues"},"homepage":"https://github.com/heineiuo/isomorphic-ws#readme","peerDependencies":{"ws":"*"},"readme":"# isomorphic-ws\n\nIsomorphic implementation of WebSocket.\n\nIt uses:\n- [ws](https://github.com/websockets/ws) on Node\n- [global.WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket) in browsers\n\n## Limitations\n\nBefore using this module you should know that\n[`ws`](https://github.com/websockets/ws/blob/master/doc/ws.md#class-websocket)\nis not perfectly API compatible with\n[WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket),\nyou should always test your code against both Node and browsers.\n\nSome major differences:\n\n- no `Server` implementation in browsers\n- no support for the constructor\n  [`options`](https://github.com/websockets/ws/blob/master/doc/ws.md#new-websocketaddress-protocols-options)\n  argument in browsers\n\n## Usage\n\nYou need to install both this package and [ws](https://github.com/websockets/ws):\n\n```\n> npm i isomorphic-ws ws\n```\n\nThen just require this package:\n\n```js\nconst WebSocket = require('isomorphic-ws');\n\nconst ws = new WebSocket('wss://echo.websocket.org/');\n\nws.onopen = function open() {\n  console.log('connected');\n  ws.send(Date.now());\n};\n\nws.onclose = function close() {\n  console.log('disconnected');\n};\n\nws.onmessage = function incoming(data) {\n  console.log(`Roundtrip time: ${Date.now() - data.data} ms`);\n\n  setTimeout(function timeout() {\n    ws.send(Date.now());\n  }, 500);\n};\n```\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","gitHead":"b255b999fc63a94af561b09ea7e877c3da7051c2","_id":"isomorphic-ws@5.0.0-beta.3","_nodeVersion":"18.4.0","_npmVersion":"8.12.1","dist":{"integrity":"sha512-UsbLaBwOB6CKARG16/r6qGMkfDlvdlFCzhUXFiEDAVxLTYpweKyi5W9rWelL4fyyzAvVenz6bcnLLvjN8/lA1A==","shasum":"5149b620108e1d49623b1977978429e3d7223069","tarball":"https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-5.0.0-beta.3.tgz","fileCount":6,"unpackedSize":4051,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID840zMQULk1x0OMVA3WHFIhRInyrNdCpI3dBLIqLfOlAiEAkNPrSUordviyQmB4IHTUQF4Ciq4o/gaG2DJ2yrqnRmA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuYqZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoV1RAAj3Y83jbMdKanxBwa+Lridl3zNYFs6IBtLxpDibhA8/Cql/Mi\r\n5rTkrEFOW87PWo6u2YIJBhUYE7hEQO5BiR8R5GbFsdZSbSiQaHbaJ+8CrIgx\r\nDH7FMasy3HVWbp2SDyZtSkMs2zsWC2Ywi9EPvgGeMIcQ7h5o3ipbXXT1zy0c\r\nSF+zapPQ28eBI5lSbUPol8bt/LSV4zYqz521I+nnEQqWLXHoa99qEtXurYDp\r\nwLgsSZawNeLOcSbXRWpTV5t8497fMzlJtwN4SB90C1mMMRwHp3DCBw5HoDqE\r\nnVx5snSCL08YjZpgEwGV4SjUu6xPlS57c+U5+wLht7jg/Mx/HCnVGLQnsohN\r\nEOtPycIwZNvJHK/d/E7zgUS+EStCqtTYks0Uo4H2RZcKRLbiclqlhJrWrZ/h\r\nxxGmmKubViebdpZAcr29kvcvBW7qkIXVL82lsebkktukZcqsVp8GXeKI3vGR\r\ntcWxZoR73/FUwfCgHQmI+LOflo7FnISaALSlfs5UCUlXffCrhPb8ny2kwd6Z\r\nkD8PPvBXwyEbZq/Lgr7LY0h6IXZkjM6ndoQtKhYnE73RCuZeV5sytEtMHtQe\r\nbQKr05+Pssc1B0UIgaw271bLVa7nashktF7wf+XDa8OXXGzXWwrYzTrOrlji\r\nYhvviXeIQ5XpLn7h4VXWL1Tcs2NDtphyNcE=\r\n=cDaV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"heineiuo","email":"heineiuo@gmail.com"},"directories":{},"maintainers":[{"name":"heineiuo","email":"heineiuo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isomorphic-ws_5.0.0-beta.3_1656326809596_0.6857441733299183"},"_hasShrinkwrap":false},"5.0.0":{"name":"isomorphic-ws","version":"5.0.0","description":"Isomorphic implementation of WebSocket","main":"node.js","types":"index.d.ts","browser":"browser.js","repository":{"type":"git","url":"git+https://github.com/heineiuo/isomorphic-ws.git"},"keywords":["browser","browsers","isomorphic","node","websocket","ws"],"author":{"name":"@heineiuo"},"license":"MIT","bugs":{"url":"https://github.com/heineiuo/isomorphic-ws/issues"},"homepage":"https://github.com/heineiuo/isomorphic-ws#readme","peerDependencies":{"ws":"*"},"gitHead":"b255b999fc63a94af561b09ea7e877c3da7051c2","_id":"isomorphic-ws@5.0.0","_nodeVersion":"18.4.0","_npmVersion":"8.12.1","dist":{"integrity":"sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==","shasum":"e5529148912ecb9b451b46ed44d53dae1ce04bbf","tarball":"https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz","fileCount":6,"unpackedSize":4044,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAxrlrzntCM64r5fnA29PgbOQLWYsSgSiFHr+YSubL90AiBJxeBW5ek797Lzz1SXwXocpNsJEW4MqMi0FPhFMijjhg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuYrcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqEaxAAifaxqNMK54ritATF1pVbbYlTswmmlhqEt6Iw/tNR+0qrQELT\r\n14k5NPef6Bryny3PVyUqliBgC99QLLFveiZYfuKg7Lx5pPdhIkQSQRxK+B+g\r\ngVWbxCFTfITpE3ZsHq6PJeOCcWFYEl5b0eDjPk1bcn8tgfZMp8eCl8qFkQKT\r\nsyDsjcRMngpbBdPOgHXe/AS61HD+kZPVCGlazMv0wJZEzD5Th1u/VgTeIwyh\r\nTfiP7W8W0DS64JntwDPjmkgGfk9tGWUsHm1OnKK41tYpUsE2bueOGd0nqy9X\r\nLQ/uOfhaaKO3+1Ozm96cHNuhbaoX/C1fD7yK1q+Vi4Z6j1rx2eYeChwXdY7V\r\n/iGh/9NqfBE1erZ0VI9r3jfnyZus58eDKrp6E0fVJQspPr5dzewof7sYkbkf\r\nhLZTFpii4cxkzeSNFdEqDg86ahMSDLbfsmrQlghKGF1HKQVAwvkpwlQoJL2m\r\nScG/TdxW1jrNTVxs63YkRhJXH2g7ijGTKIEi8+pzjGBX2t58ZpJ4eNfBi1yH\r\ndqZ4w/MrgsvInyIamEPOItmJLel4c7SC1eWAcHKSMTvxgDDZsoL30ynaroBz\r\nyWTtHFQnlG7glR3fNc4x2533ZbdwFLA/+MaoNW9IcvomjyLVd67D79aj5w+2\r\nHVNFN02B8xACggWRCNO239J9Kex3IHoRFbI=\r\n=Pd4h\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"heineiuo","email":"heineiuo@gmail.com"},"directories":{},"maintainers":[{"name":"heineiuo","email":"heineiuo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isomorphic-ws_5.0.0_1656326876526_0.8091918877190516"},"_hasShrinkwrap":false}},"readme":"# isomorphic-ws\n\nIsomorphic implementation of WebSocket.\n\nIt uses:\n- [ws](https://github.com/websockets/ws) on Node\n- [global.WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket) in browsers\n\n## Limitations\n\nBefore using this module you should know that\n[`ws`](https://github.com/websockets/ws/blob/master/doc/ws.md#class-websocket)\nis not perfectly API compatible with\n[WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket),\nyou should always test your code against both Node and browsers.\n\nSome major differences:\n\n- no `Server` implementation in browsers\n- no support for the constructor\n  [`options`](https://github.com/websockets/ws/blob/master/doc/ws.md#new-websocketaddress-protocols-options)\n  argument in browsers\n\n## Usage\n\nYou need to install both this package and [ws](https://github.com/websockets/ws):\n\n```\n> npm i isomorphic-ws ws\n```\n\nThen just require this package:\n\n```js\nconst WebSocket = require('isomorphic-ws');\n\nconst ws = new WebSocket('wss://echo.websocket.org/');\n\nws.onopen = function open() {\n  console.log('connected');\n  ws.send(Date.now());\n};\n\nws.onclose = function close() {\n  console.log('disconnected');\n};\n\nws.onmessage = function incoming(data) {\n  console.log(`Roundtrip time: ${Date.now() - data.data} ms`);\n\n  setTimeout(function timeout() {\n    ws.send(Date.now());\n  }, 500);\n};\n```\n\n## License\n\n[MIT](LICENSE)\n","maintainers":[{"name":"heineiuo","email":"heineiuo@gmail.com"}],"time":{"modified":"2022-06-27T10:47:56.769Z","created":"2017-04-28T08:03:01.196Z","2.3.1":"2017-04-28T08:03:01.196Z","3.2.0":"2017-10-05T04:28:54.711Z","4.0.0":"2018-02-07T13:31:26.885Z","4.0.1":"2018-04-27T01:47:31.757Z","5.0.0-beta.1":"2022-06-06T08:51:46.282Z","5.0.0-beta.2":"2022-06-27T10:44:57.922Z","5.0.0-beta.3":"2022-06-27T10:46:49.787Z","5.0.0":"2022-06-27T10:47:56.680Z"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/heineiuo/isomorphic-ws#readme","keywords":["browser","browsers","isomorphic","node","websocket","ws"],"repository":{"type":"git","url":"git+https://github.com/heineiuo/isomorphic-ws.git"},"author":{"name":"@heineiuo"},"bugs":{"url":"https://github.com/heineiuo/isomorphic-ws/issues"}}