{"_id":"sockette","_rev":"15-dfa858a17da6f44676e7c1bee5e23b0b","name":"sockette","description":"🧦 The cutest little WebSocket wrapper!","dist-tags":{"latest":"2.0.6"},"versions":{"0.0.0":{"name":"sockette","version":"0.0.0","description":"🔜","gitHead":"8d720b714c8c80dd65e43a55d8eac45691304a45","_id":"sockette@0.0.0","scripts":{},"_shasum":"c20b545b3a2fa1125cad197658221f538541caca","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"shasum":"c20b545b3a2fa1125cad197658221f538541caca","tarball":"https://registry.npmjs.org/sockette/-/sockette-0.0.0.tgz","integrity":"sha512-5gsvTE2hx7mTKb4DgpmvmR4rNNkPXhrq1wdciZJx9wRVRlII+Y5ITPbbpj3EUJ5RlcqTKT3EPknhCTEHvzXEBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnFoutoYR4yy7eu6j9AAv7tIFP3WpIIXCie44R7+5LiQIgJ793t7JxR9BAhxu2yZjimxHvOEvPEcajdZ7mCWAxKqE="}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sockette-0.0.0.tgz_1494034356642_0.3250583098269999"},"directories":{}},"1.0.0":{"name":"sockette","version":"1.0.0","repository":{"type":"git","url":"git+https://github.com/lukeed/sockette.git"},"description":"🧦 The cutest little WebSocket wrapper!","umd:main":"dist/sockette.min.js","module":"dist/sockette.es.js","main":"dist/sockette.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"build":"microbundle src","pretest":"npm run build","test":"tape test/*.js"},"files":["dist"],"keywords":["socket","reconnect","websocket"],"devDependencies":{"microbundle":"^0.4.3","tape":"^4.8.0"},"gitHead":"4d5c9e305b13891ab19a24de196ca725dbdac052","bugs":{"url":"https://github.com/lukeed/sockette/issues"},"homepage":"https://github.com/lukeed/sockette#readme","_id":"sockette@1.0.0","_shasum":"d4f69ef9cf5c23f6392112de156db54c74e2e16b","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"shasum":"d4f69ef9cf5c23f6392112de156db54c74e2e16b","tarball":"https://registry.npmjs.org/sockette/-/sockette-1.0.0.tgz","integrity":"sha512-64l0BbXHdq3CvwRe976J8pi8SnnnZJeGltSvJcwmP3meTnfraBVovLTmX0SlNOo3aIdi1Fu6DR3QYmjvsgGQBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGBoUg9iKydDF1h1u5BSdHFyeJsccgfLmziqkJNTvQWFAiEA5LVFlCWCOHsEbH56dXBF1Jqaumhyt9K+DGDGzqR8fb0="}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sockette-1.0.0.tgz_1517262615686_0.5790087233763188"},"directories":{}},"1.1.0":{"name":"sockette","version":"1.1.0","repository":{"type":"git","url":"git+https://github.com/lukeed/sockette.git"},"description":"🧦 The cutest little WebSocket wrapper!","umd:main":"dist/sockette.min.js","module":"dist/sockette.es.js","main":"dist/sockette.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"build":"microbundle src","pretest":"npm run build","test":"tape test/*.js"},"files":["dist"],"keywords":["socket","reconnect","websocket"],"devDependencies":{"microbundle":"^0.4.3","tape":"^4.8.0"},"gitHead":"d2421ede3dad762be50800c23eacf0bba7f51209","bugs":{"url":"https://github.com/lukeed/sockette/issues"},"homepage":"https://github.com/lukeed/sockette#readme","_id":"sockette@1.1.0","_shasum":"f806a467dd2e2265012aec89443aecae7e20dd82","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"shasum":"f806a467dd2e2265012aec89443aecae7e20dd82","tarball":"https://registry.npmjs.org/sockette/-/sockette-1.1.0.tgz","integrity":"sha512-FhGbu+lExoVvG1mQN5RrQGHzcWoir5x8pJQ5DvJNtH1GkLo4l/Sjz2OAqSUh0jY3jq+dg3Mm5G8kwflxSwZ01A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDuFNVTcgJRqrnO+Nhu8oKroUFPfxmFwkKLsbPahA7e+AiBKLQcgkcOyvZpJrGIFwKBVXuDtXY+3jvGbNKlW+WkCwQ=="}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sockette-1.1.0.tgz_1517391564497_0.39171387162059546"},"directories":{}},"1.2.0":{"name":"sockette","version":"1.2.0","repository":{"type":"git","url":"git+https://github.com/lukeed/sockette.git"},"description":"🧦 The cutest little WebSocket wrapper!","umd:main":"dist/sockette.min.js","module":"dist/sockette.es.js","main":"dist/sockette.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"build":"microbundle src","pretest":"npm run build","test":"tape test/*.js"},"files":["dist"],"keywords":["socket","reconnect","websocket"],"devDependencies":{"microbundle":"^0.4.3","tape":"^4.8.0"},"gitHead":"01875e5bff864b66765ed52cee4f5f1d1aa25827","bugs":{"url":"https://github.com/lukeed/sockette/issues"},"homepage":"https://github.com/lukeed/sockette#readme","_id":"sockette@1.2.0","_shasum":"e08070a713169ff4f33206aa820a00a9b462cf1c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"shasum":"e08070a713169ff4f33206aa820a00a9b462cf1c","tarball":"https://registry.npmjs.org/sockette/-/sockette-1.2.0.tgz","integrity":"sha512-a8djgR1CFEtPl2fPISVv6K2Wr687I9KjAPAoW6Z9V0o3bl6d1+lVZc8B0hjdaMtJEDeJW01UibGmKQ43cz2E3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICQF+Qs5l3ZxQo62t8eztGT+Jg9k1NwemFdmLDEnBmseAiAY8equXQXaj7E78Ozy9tkOr782k3DuCpZwS+Lwswek2A=="}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sockette-1.2.0.tgz_1517511036274_0.08228287426754832"},"directories":{}},"2.0.0":{"name":"sockette","version":"2.0.0","repository":{"type":"git","url":"git+https://github.com/lukeed/sockette.git"},"description":"🧦 The cutest little WebSocket wrapper!","umd:main":"dist/sockette.min.js","module":"dist/sockette.es.js","main":"dist/sockette.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"build":"microbundle src","pretest":"npm run build","test":"tape test/*.js"},"files":["dist"],"keywords":["socket","reconnect","websocket"],"devDependencies":{"microbundle":"^0.4.3","tape":"^4.8.0"},"gitHead":"52f9bc4ecc3c1cc3673c754074f05b582f2fd934","bugs":{"url":"https://github.com/lukeed/sockette/issues"},"homepage":"https://github.com/lukeed/sockette#readme","_id":"sockette@2.0.0","_shasum":"3da2f3459288d55cedcb6de580aeae68ae4554fc","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"shasum":"3da2f3459288d55cedcb6de580aeae68ae4554fc","tarball":"https://registry.npmjs.org/sockette/-/sockette-2.0.0.tgz","fileCount":9,"unpackedSize":16008,"integrity":"sha512-koLJ+M7L5t/3zfXK65rVxKJq6Aq6qUveWfv9NCdIGndsOYggWHHmT69OTMWtS55XxDAv/X6ATCUewMiwDPm2sA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+7t80MSQSovhBbKDmgSUKpEgclI+bBt+TtAbS3QfoGAiEAt+xmB798MAy9v3TCPttryTdNobUsLryKElSK6X5zSG8="}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sockette_2.0.0_1518472523862_0.02460213729360583"},"_hasShrinkwrap":false},"2.0.1":{"name":"sockette","version":"2.0.1","repository":{"type":"git","url":"git+https://github.com/lukeed/sockette.git"},"description":"🧦 The cutest little WebSocket wrapper!","umd:main":"dist/sockette.min.js","module":"dist/sockette.es.js","main":"dist/sockette.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"build":"microbundle src","pretest":"npm run build","test":"tape test/*.js"},"types":"sockette.d.ts","keywords":["socket","reconnect","websocket"],"devDependencies":{"microbundle":"^0.4.3","tape":"^4.8.0"},"gitHead":"eb73cf20b4f81a43bb6423459b32ed897bf3190b","bugs":{"url":"https://github.com/lukeed/sockette/issues"},"homepage":"https://github.com/lukeed/sockette#readme","_id":"sockette@2.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"integrity":"sha512-s52288/NsrwIv5hT1M63mNUCGtcdR5hizVrjA4G2u1yPoMs7OE/vrDlx+yh0ReNlLO+bsQUkgwZa9FrhYZStBA==","shasum":"b1f0b13df0778b7e2f9f35cde11f977c6df9bf52","tarball":"https://registry.npmjs.org/sockette/-/sockette-2.0.1.tgz","fileCount":10,"unpackedSize":16902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb36aOCRA9TVsSAnZWagAAqLIP/2+rXjBJQBiGtmtkKV/a\n30YKyHptV490LqTLlWRh/8NZGzymkzm+Qa5eIXrvmLHFohtUP8/mV3sxQmzm\nMxvsHdW3qfDTNdbbAwhPL9JZ6CmXWFL9vM/kxLRHX//WqZEYSYIfU1MLp88G\nOTaf9CWs7jUQeDiO5COWHDNwlzF6ITqOgoMmqFkDShyTBFXnGBDUUnKeKQdU\nbxBK1U6jj9/pcCVymzQypcbI7siTST7Wo3P8opBhEHlvYtf8AEEGiW7nIG9N\nk/AfDhIeoFJEJ3Ah+ivFgfBsLCrDysZL8Y78HSj1WN/sQek29a1Q1xvJt1cU\neasWe2itAFlK4hfEkeSRzIj/SQ4jwz45HVMFgnj9rIgoHzmfnSp/gta2jI3z\nW661yP7Vtc7/29vGzmCYSi29Dodu0UlNMkpDF/475z3NXRuTH532Ix0BOHPO\nltyDsTLemCjV4YlMnojBwi+FV+sYW176WSyovaFJwoDLGxxQ1ns/3wwwEp4d\nd6kTljx9a85ZSyI/rxLxd7PLC7V7cFbogCjgBeFw0B4hlpD7liP+QJZddEce\na19sjhNv1RwYTIXzv8a6UTK+xWq9ozSjge4C/KeIKb4EhtUah4XelsIfUiTB\nqy0yKyghapAINvLu1JqmMs9s+Dew7S+9UVSPZMZ6zr3RfMeATwM1eZaDCOhH\ncCKf\r\n=8mD9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtj5FRi1J21SstqlV1slYuujs0E0m/r6qyjYTMRYGm3gIgbiHepMIUqgYJsivk23f7m8TkTuXa0+F75VSOns5V+Vg="}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sockette_2.0.1_1541383821765_0.1246019678221768"},"_hasShrinkwrap":false},"2.0.2":{"name":"sockette","version":"2.0.2","repository":{"type":"git","url":"git+https://github.com/lukeed/sockette.git"},"description":"🧦 The cutest little WebSocket wrapper!","unpkg":"dist/sockette.min.js","module":"dist/sockette.mjs","main":"dist/sockette.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"build":"node builder","pretest":"npm run build","test":"tape test/*.js"},"types":"sockette.d.ts","keywords":["socket","reconnect","websocket"],"devDependencies":{"gzip-size":"^5.0.0","mk-dirs":"^1.0.0","pretty-bytes":"^5.1.0","tape":"^4.8.0","terser":"^3.10.11"},"gitHead":"5e6dec4f8e6c3b8aa8100944cdc92cb2956a838c","bugs":{"url":"https://github.com/lukeed/sockette/issues"},"homepage":"https://github.com/lukeed/sockette#readme","_id":"sockette@2.0.2","_shasum":"ee3680844c40b0867a8cf621afc2a9f84da94217","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"shasum":"ee3680844c40b0867a8cf621afc2a9f84da94217","tarball":"https://registry.npmjs.org/sockette/-/sockette-2.0.2.tgz","integrity":"sha512-erXReNvI6uO89EpdpcB2wp8ymfO2RooQFPeBhVdf6KnEg0FkUErR5GrFKxef5MVAR+ezrOYSMFfnh3X67RX2vQ==","fileCount":7,"unpackedSize":10786,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb60hLCRA9TVsSAnZWagAAI8wP/Auq+ifWH8w6xcHOMnGB\nE2XpSsCh9ulZWstOHHpzT+IQAW5VNUwqn6pHAD3gbg+Z4AJ9wWsFGazs8Zts\nPwCSgVO4VNpmCfWbKjzunaRsB299uGPrM6Tj7j3TLT885eNb8W745i7zttv2\nqwdNzM0YnkvEPbaDSeQkThJMCPGk7JVeJlUrsHDgKsB40NcXGX00TMWE7I04\nfc+MmG7jsLP6Di3V4gqOONASUqBi4H+q4cGXTPSevU5JOIHoU0VGUuuqHI73\n6hKJHCEtpd75KdBU3ewOXAdK42uU638bEdaVqWT+8x4li3FMho3ow5HV+ZUB\nwy5G6tsmx2c0eRhcPLPPs7pIChk5RNrXHmCRQ54yBDu4Q/5Ypvdfe+V2JWmh\nZkM6xBINqls0au7gexs+E7ceVBoAseU3iY9V9Hbpbv8mj+L8sL0F6bD70k41\n6t+A14tzayYEFGWI38UhYeMEk1FN8TRSUxBu6RkkpbvKdUS33d0ZouM+fec2\nzERWYM71SKaojBPVJQb8x+6GweA7wdo/uGxEsnHjH5C+IqYOGbp7XHxi/5CG\nqd/CCqopNbH/K3qQiVR5hhx01gIMyUVAZWePyWF+mRN+J6u3HKddks9uZf9T\nyBOwqkEWA/lsdA0ld2Mh6G21szFiDxqJkQlENX7iFlZuvCtcmyElnN6VkPhs\nqJh/\r\n=pqUC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEj9tymMWJg60CRrJbr7H3IVkcbiigEXgK+XUrTHfeMfAiB5+An7lOEXYpV/NQZ33r8cr2LNd8v6fwh9ISVRDH89vg=="}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sockette_2.0.2_1542146122209_0.45551639659782595"},"_hasShrinkwrap":false},"2.0.3":{"name":"sockette","version":"2.0.3","repository":{"type":"git","url":"git+https://github.com/lukeed/sockette.git"},"description":"🧦 The cutest little WebSocket wrapper!","unpkg":"dist/sockette.min.js","module":"dist/sockette.mjs","main":"dist/sockette.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"build":"node builder","pretest":"npm run build","test":"tape test/*.js"},"types":"sockette.d.ts","keywords":["socket","reconnect","websocket"],"devDependencies":{"gzip-size":"^5.0.0","mk-dirs":"^1.0.0","pretty-bytes":"^5.1.0","tape":"^4.8.0","terser":"^3.10.11"},"gitHead":"31de0ee0d4dfb2a4636977dc878609aeea50a693","bugs":{"url":"https://github.com/lukeed/sockette/issues"},"homepage":"https://github.com/lukeed/sockette#readme","_id":"sockette@2.0.3","_shasum":"f9204f67accae3505cacaf696c780d15fead22b1","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"shasum":"f9204f67accae3505cacaf696c780d15fead22b1","tarball":"https://registry.npmjs.org/sockette/-/sockette-2.0.3.tgz","integrity":"sha512-sKe0MFmTRHRH6YNqG6HGyCf/cvyHJYSsHIHUOEazwJhqvnTokCMlGkVYs1r2Ac6eE0i5ep5wJcog7EYrfIDAKw==","fileCount":7,"unpackedSize":10741,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb65IoCRA9TVsSAnZWagAAcn4QAKI+tFg1VVWhEDKaESed\nvpH5FD/9kT2vrGJ7lr4wytXicN9ZOjprEl/m+TFohuYnvWuZJloq0ELaHuRq\nfq7c4+UMWbDUXvzysY/ni9+8utWRjyC25BSfQF4qhgN1lkx/NJwU8ZoTvDCh\nPWmL0VsqUqiVCeyqKFjNoxPPFYILeij7UPzclkK4Gl8C1nCnBMWeMvq0MfDm\nTWZ2EpSMDPeAwhusKRwEClw4lFpmGL33IgLwHbFmP3lbbLEfcwNIStg5YXlo\nP6O0LDtDGNnsZ2ETsoY9S2ZyF7INbGluRPcBrTIMEzMN9gk54tv0eipzKGFQ\nwxwshhp0+CD51FYKfcwgosJopkJEJq1yxPT4sdBaXu6x/diPV778SEc3x7JT\noKXWRltBrskzh1jgX3LU8ECUX6N8sDgQc2ubEkAFWNYwAaKmeh+RacVx3/k0\nuEmMI70+tAurIXPonXdS08geuk15xeFiCAum7bz8dB+sDijF5Fv7OHKHa2Z7\n27XigicrQtI52YKF5Sml83IPI30Gbpf1M7X1NKSjaBWAt2wLMgwIzhGFVdAt\n/wmmMd9jFQxM6HBK27/57JW53jNRoAV5Nh+TDQvIFWPdQG/xj72OUpcTL/9a\niK6WyfGLK6xKGNOeYutaWNTSuMcYPsacBiAYYHpKuFWNHzqQAk4cang8D3t6\nP6Py\r\n=g7Go\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH2OemgDcVPe1hY9s485jQr5V+v00H/oW4ZkyIRh9o6cAiEAwWnwqhgcdksdtZ3aRf7qtywJjmtkmKC2t6ESb6jm0VY="}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sockette_2.0.3_1542165031695_0.6767607568527843"},"_hasShrinkwrap":false},"2.0.4":{"name":"sockette","version":"2.0.4","repository":{"type":"git","url":"git+https://github.com/lukeed/sockette.git"},"description":"🧦 The cutest little WebSocket wrapper!","unpkg":"dist/sockette.min.js","module":"dist/sockette.mjs","main":"dist/sockette.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"build":"node builder","pretest":"npm run build","test":"tape test/*.js"},"types":"sockette.d.ts","keywords":["socket","reconnect","websocket"],"devDependencies":{"gzip-size":"^5.0.0","mk-dirs":"^1.0.0","pretty-bytes":"^5.1.0","tape":"^4.8.0","terser":"^3.10.11"},"gitHead":"9025fa804d170b5bd6a12ef928153fb802a68ded","bugs":{"url":"https://github.com/lukeed/sockette/issues"},"homepage":"https://github.com/lukeed/sockette#readme","_id":"sockette@2.0.4","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"integrity":"sha512-XWak2oFVANhDmYujU/nELJesItHniwGD4bull1ooZft0W9RrgPS24HHUAHoY/V5jOzD8dlMAvCkIpn+NJlfLcA==","shasum":"972141afc22609c1e0421384dbcf2b63d4c654fe","tarball":"https://registry.npmjs.org/sockette/-/sockette-2.0.4.tgz","fileCount":7,"unpackedSize":10762,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcDrvpCRA9TVsSAnZWagAAinAP/Rg9Wiwn9cV3zfGeOI7w\nfOcpeBYmzDR78JFxWeLzXShlnqS+CYx5xsIPq4vTpaEzffJ+ozPSO+kUESWx\ny43srTelGE8T2I0ETYCucDasPmP7JMZc+EIOOv2VazQqrByfMqEBqxYDrDi5\nNEIQHuwbnYisXKPPUC5yYpVhC30/I8BTsi3Xwv3422yjan670yHEyOzZlOjG\nKzphFDzPUOS8dAKj+OeXPNZLS+oWf/6Ib8GrvcNfHjZrssSCvr1+WOs5QINK\ntn+GyUkDp3q3KcEZEdr+PZo/ZStodjWbRxqVZxGQQdpwkj3DziMuWHgtf5ME\nuNvF/aV/1G5EoEctvU/MatZni0sqg5GOENiYpaOB+PL/nz4ObMGiIIiErJzc\ng37mdz1clO5+ktNNdPegEvA5tfSUOx0DNM7OoCH71LmH+es5u7aMFRpyWEHv\nN4rgKdXqIIdj9mBW15wXEj+fTiOI6lZE/T7Lgmh7JKx7+EEqNyZnquZ7YVLe\nicTxAlzbK57J81OXyBbyQV1c6Ec3Byx5dZsKilFqU4W8gPPIen2CC5jM9rTk\nJJGRwsT4tPiRRULc2mgM/yMjarcW13iAWXtWMCIEG21vjWWiRMh3sF+bF/sf\nnlJW8DKYqo9Qh8AoXrhQyiAe4ALDyFmXrXVf5q/S72uahbjSTq/rc+rDP4VH\nCPD0\r\n=Qlz1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGfMIYW8c6W0RrZbNLLVeh3vtITNWva4KgARjpDqcSErAiBSB9vJOlYvU7HNrwylgdAYbGQXWgJ0EXnjS4fuj3tLKg=="}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sockette_2.0.4_1544469481117_0.8656000124917884"},"_hasShrinkwrap":false},"2.0.5":{"name":"sockette","version":"2.0.5","repository":{"type":"git","url":"git+https://github.com/lukeed/sockette.git"},"description":"🧦 The cutest little WebSocket wrapper!","unpkg":"dist/sockette.min.js","module":"dist/sockette.mjs","main":"dist/sockette.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"build":"node builder","pretest":"npm run build","test":"tape test/*.js"},"types":"sockette.d.ts","keywords":["socket","reconnect","websocket"],"devDependencies":{"gzip-size":"^5.0.0","mk-dirs":"^1.0.0","pretty-bytes":"^5.1.0","tape":"^4.8.0","terser":"^3.10.11"},"gitHead":"cf1f79222bd9813928de94451d9ec80c2c5d5dbc","bugs":{"url":"https://github.com/lukeed/sockette/issues"},"homepage":"https://github.com/lukeed/sockette#readme","_id":"sockette@2.0.5","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"integrity":"sha512-jQbd/n+bHKdOfd9ii95aZ+TTHlaNCbKUpOW4YxiNx/U8OxfhvM9g/SpMSHl/hGSZ5BUYtltXBz02p+ih11M3WQ==","shasum":"e72cc2958e5a11a1aa49bc9a052093650b8de5d3","tarball":"https://registry.npmjs.org/sockette/-/sockette-2.0.5.tgz","fileCount":7,"unpackedSize":10759,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEZPgCRA9TVsSAnZWagAAe/MP/RRGANsCzWaMPZ14tBnZ\ni70x1e3sAWIBf3xwpabO09YvON9ygN9ITtuR50sxAqksLjrm8+GrQ8ydwYo1\nStd3GuDwxsij1Aa5kARYWGYJxjdRsfVThuQuXv/AHCc4Ua5v3Iu/RXEGqpPM\neMnIC8aq55FnAxAmmNVct/tZe4G/5fA7OUS3ChUMmCHz6+h7ion/FC3b00LQ\ngN2ScbwxGa78hgGrhjMj6mvm/62egf0EjsEcu40COsROVkcsBbDtWPo6pPAT\n4vAWM+F5InJ/9ANa8Su86p4hD5VnmKonDsR9vn8bUj5GczkXCxMb0Gf3YpZa\n+7iXrggJDPoDUdFR3TY7t+NNW1h5PfXWE5gAv9Hi3LdyeXNbnWDoB1AoWYDy\nKstUZ7dAjCzzS1MKAx3cuz/CE1NMuWy6UiZ9DLj3vSl5bLv/06j9Vo56l37m\nJ2pqQM+1MFFifBQ82vcvOkTAvzysftqlrbtaOPc/X4CKqeHV/aNSVZZbITvT\n6h3J1CHqhm6IugUBWZAOnGX5hYR8qBZ3ezYxUx0Eccb3jBn2afdhfroX01Lu\nHIcs75Qo0UJ/EiT0XFsw56r9QVnMUGOtq3U5YSRprRGyajyKZf4tBbvmRV5A\nTOVjsjBtQzndzcMu6907UEATNBQiRWWCtVGe77fZanJ8PpLBlafsSULwDs+a\nIEG0\r\n=Ilyp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEnd6IHSUkdfehC8ZQU7/3pXKM/TWXJtjW75JYNDTT5nAiBcqK8qbh8Izr4TuXXc33fa18iQVvnPydCvpgQmLXB2KA=="}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sockette_2.0.5_1544655839269_0.3069597522166283"},"_hasShrinkwrap":false},"2.0.6":{"name":"sockette","version":"2.0.6","repository":{"type":"git","url":"git+https://github.com/lukeed/sockette.git"},"description":"🧦 The cutest little WebSocket wrapper!","module":"dist/sockette.mjs","unpkg":"dist/sockette.min.js","main":"dist/sockette.js","types":"sockette.d.ts","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"build":"bundt","pretest":"npm run build","test":"tape test/*.js"},"keywords":["socket","reconnect","websocket"],"devDependencies":{"bundt":"^0.4.0","tape":"^4.10.1"},"gitHead":"ec059cd1497408fe262464d78625c4a46ad55582","bugs":{"url":"https://github.com/lukeed/sockette/issues"},"homepage":"https://github.com/lukeed/sockette#readme","_id":"sockette@2.0.6","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"integrity":"sha512-W6iG8RGV6Zife3Cj+FhuyHV447E6fqFM2hKmnaQrTvg3OydINV3Msj3WPFbX76blUlUxvQSMMMdrJxce8NqI5Q==","shasum":"63b533f3cfe3b592fc84178beea6577fa18cebf3","tarball":"https://registry.npmjs.org/sockette/-/sockette-2.0.6.tgz","fileCount":11,"unpackedSize":18215,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdBd7CCRA9TVsSAnZWagAAdUsQAIMDS/0xI5+TwPnbIovD\nSAG/6pxo2LDuKx36f/3LuaDvNuE/1c6OKwe8GgtC+ZEvNtIRYx3D3z4lYskv\n6d9TrrNYvxJjKeGMvGBIMXSnK5zh9gwKp9MuL8E2b4TPYDxINpxQtZKP8sRQ\ntOFZxqjprTPoINeKhhrFvic7Eed9C9n0rud0pXiYzOdFNO5n/vFaPPC529TA\nCEhjS7BuRLqzuPCuqEV39YJZNlZfRCNUVHYbXBTi/ARCiz/3iT3c4EJO7kj8\no1gRmqD+6nuxo8pVV1BqAoWLcm6oSl8+aYeq1GlsFgmk0DITgtHIC4rxCcqo\nYSB1IAvvFebbAutaStTmvTInTimZ0jC9qhVSZJ5Tq3IKBI5P0LQijwFbHGUs\np6of+1MjMXYQZjiMNAAN9ckHUoW87lbeCs0JJ15iEoNjx9u/9qZ045eTEyeE\n0hARo6X7hOuFY7in1TAgATRbqDC/Pfv+MWO2ENQDD1AWMe9DPHBkv+A9J4YM\nX/otLNRXV6Ltequb6XLI7+gM7V8Ybb1JoBkfG1OjYqJK1fscEnuPM8BQHvoX\nDYucDujrajIKtLKVWwXIYzyNdqlbWlO1vYnnE9ci9yw0kAuyBwVqJbtyQ0Qs\nz8cz1JUwI6ZwayIEjZH/lQf++uRxzL4dbHGp6H4YV2nUzMCL3e8m1+gJnrhc\n1cCg\r\n=mAvR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFnHyMdZhjP3uSD2aUnsOfvMcT8sYVZi5CRP3AGXh+dvAiEAoTzIlQS5YHkOAPqRqRngI/eJjJsw6VLhtzQOWeSa+t0="}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sockette_2.0.6_1560665793324_0.1961546645395178"},"_hasShrinkwrap":false}},"readme":"<div align=\"center\">\n  <img src=\"https://github.com/lukeed/sockette/raw/master/sockette.jpg\" alt=\"Sockette\" height=\"250\" />\n</div>\n\n<h1 align=\"center\">Sockette</h1>\n\n<div align=\"center\">\n  <a href=\"https://npmjs.org/package/sockette\">\n    <img src=\"https://badgen.now.sh/npm/v/sockette\" alt=\"version\" />\n  </a>\n  <a href=\"https://travis-ci.org/lukeed/sockette\">\n    <img src=\"https://badgen.now.sh/travis/lukeed/sockette\" alt=\"travis\" />\n  </a>\n  <a href=\"https://npmjs.org/package/sockette\">\n    <img src=\"https://badgen.now.sh/npm/dm/sockette\" alt=\"downloads\" />\n  </a>\n</div>\n\n<div align=\"center\">The cutest little WebSocket wrapper! 🧦</div>\n\n<br />\n\nSockette is a tiny (367 bytes) wrapper around `WebSocket` that will automatically reconnect if the connection is lost!\n\nIn addition to attaching [additional API methods](#api), Sockette allows you to **reuse** instances, avoiding the need to redeclare all event listeners.\n\nYou have direct access to the (current) underlying `WebSocket` within every `EventListener` callback (via `event.target`).\n\n\n## Install\n\n```\n$ npm install --save sockette\n```\n\n\n## Usage\n\nUnlike `WebSocket`, you should declare all event listeners on initialization:\n```js\nconst Sockette = require('sockette');\n\nconst ws = new Sockette('ws://localhost:3000', {\n  timeout: 5e3,\n  maxAttempts: 10,\n  onopen: e => console.log('Connected!', e),\n  onmessage: e => console.log('Received:', e),\n  onreconnect: e => console.log('Reconnecting...', e),\n  onmaximum: e => console.log('Stop Attempting!', e),\n  onclose: e => console.log('Closed!', e),\n  onerror: e => console.log('Error:', e)\n});\n\nws.send('Hello, world!');\nws.json({type: 'ping'});\nws.close(); // graceful shutdown\n\n// Reconnect 10s later\nsetTimeout(ws.reconnect, 10e3);\n```\n\n\n## API\n\n### Sockette(url, options)\n\nReturns: `Sockette`\n\nReturns the `Sockette` instance.\n\n#### url\nType: `String`\n\nThe URL you want to connect to &mdash; Should be prefixed with `ws://` or `wss://`. This is passed directly to `WebSocket`.\n\n#### options.protocols\nType: `String|Array`\n\nEither a single protocol string or an array of strings used to indicate sub-protocols. See the [`WebSocket` docs][MDN] for more info.\n\n#### options.timeout\nType: `Number`<br>\nDefault: `1000`\n\nThe amount of time (in `ms`) to wait in between reconnection attempts. Defaults to 1 second.\n\n#### options.maxAttempts\nType: `Number`<br>\nDefault: `Infinity`\n\nThe maximum number of attempts to reconnect.\n\n> **Important:** Pass `-1` if you want to disable this feature. Although, this is main reason to use Sockette! :joy:\n\n#### options.onopen\nType: `Function`\n\nThe `EventListener` to run in response to `'open'` events. It receives the `Event` object as its only parameter.\n\n> This is called when the connection has been established and is ready to send and receive data.\n\n> **Important:** Sockette will forget the number of previous reconnection attempts, so that the next time connection is lost, you will consistently retry `n` number of times, as determined by `options.maxAttempts`.\n\n#### options.onmessage\nType: `Function`\n\nThe `EventListener` to run in response to `'message'` events. It receives the `Event` object as its only parameter.\n\n> This is called when a message has been received from the server. You'll probably want `event.data`!\n\n#### options.onreconnect\nType: `Function`\n\nThe callback to run when attempting to reconnect to the server.\n\nIf Sockette is automatically reconnecting in response to an `error` or unexpected `close` event, then your `onreconnect` callback will receive the forwarded `Event` object.\n\n#### options.onmaximum\nType: `Function`\n\nThe callback to run when the [`maxAttempts`](o#ptionsmaxattempts) limit has been met.\n\nThis callback will receive the forwarded `Event` object from `onclose`.\n\n#### options.onclose\nType: `Function`\n\nThe `EventListener` to run in response to `'close'` events. It receives the `Event` object as its only parameter.\n\n> This is called when the connection has been closed for any reason.\n\n> **Important:** If the `event.code` is _not_ `1000` or `1005` an automatic reconnect attempt will be queued.\n\n#### options.onerror\nType: `Function`\n\nThe `EventListener` to run in response to `'error'` events. It receives the `Event` object as its only parameter.\n\n> This is called anytime an error occurs.\n\n> **Important:** If the `event.code` is `ECONNREFUSED`, an automatic reconnect attempt will be queued.\n\n### send(data)\n\nIdentical to [`WebSocket#send()`][send], capable of sending multiple data types.\n\n### close(code, reason)\n\nIdentical to [`WebSocket#close()`][close].\n\n> **Note:** The `code` will default to `1005` unless specified.\n\n### json(obj)\n\nConvenience method that passes your `obj` (Object) through `JSON.stringify` before passing it to [`WebSocket#send()`][send].\n\n### reconnect()\n\nIf [`options.maxAttempts`](#optionsmaxattempts) has not been exceeded, enqueues a reconnection attempt. Otherwise, it runs your [`options.onmaximum`](#optionsonmaximum) callback.\n\n### open()\n\nInitializes a new `WebSocket` &mdash; used on initialization and by [`reconnect()`](#reconnect).\n\n\n## License\n\nMIT © [Luke Edwards](https://lukeed.com)\n\n[MDN]: https://developer.mozilla.org/en-US/docs/Web/API/WebSocket\n[close]: https://developer.mozilla.org/en-US/docs/Web/API/WebSocket#close()\n[send]: https://developer.mozilla.org/en-US/docs/Web/API/WebSocket#send()\n","maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"time":{"modified":"2022-06-26T21:59:10.370Z","created":"2017-05-06T01:32:39.495Z","0.0.0":"2017-05-06T01:32:39.495Z","1.0.0":"2018-01-29T21:50:15.752Z","1.1.0":"2018-01-31T09:39:24.630Z","1.2.0":"2018-02-01T18:50:36.366Z","2.0.0":"2018-02-12T21:55:24.003Z","2.0.1":"2018-11-05T02:10:21.903Z","2.0.2":"2018-11-13T21:55:22.352Z","2.0.3":"2018-11-14T03:10:31.900Z","2.0.4":"2018-12-10T19:18:01.274Z","2.0.5":"2018-12-12T23:03:59.439Z","2.0.6":"2019-06-16T06:16:33.497Z"},"readmeFilename":"readme.md","homepage":"https://github.com/lukeed/sockette#readme","keywords":["socket","reconnect","websocket"],"repository":{"type":"git","url":"git+https://github.com/lukeed/sockette.git"},"author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"bugs":{"url":"https://github.com/lukeed/sockette/issues"},"license":"MIT","users":{"garenyondem":true}}