{"name":"socket.io-client","version":"4.8.2","keywords":["realtime","framework","websocket","tcp","events","client"],"license":"MIT","_id":"socket.io-client@4.8.2","maintainers":[{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"}],"contributors":[{"name":"Guillermo Rauch","email":"rauchg@gmail.com"},{"name":"Arnout Kazemier","email":"info@3rd-eden.com"},{"name":"Vladimir Dronnikov","email":"dronnikov@gmail.com"},{"name":"Einar Otto Stangvik","email":"einaros@gmail.com"}],"homepage":"https://github.com/socketio/socket.io/tree/main/packages/socket.io-client#readme","bugs":{"url":"https://github.com/socketio/socket.io/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"7dd38a81d429ac6098797814804707fa80c9bdbc","tarball":"http://registry-npm.ywwl.com/socket.io-client/download/socket.io-client-4.8.2.tgz","fileCount":55,"integrity":"sha512-4MY14EMsyEPFA6lM01XIYepRdV8P6dUir2hxAlAysOYcbNAy5QNHYgIHOcQ1KYM7wTcKnKEW/ZRoIxRinWRXvA==","signatures":[{"sig":"MEYCIQCXks5jJUwQ75w6ZTUfv1DcFKGnXvwwQRjof1bCkoqsmAIhAMg2/RiuP3d+Gfpb20mJ9V+930gqsllAMeQp18WyaQL+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/socket.io-client@4.8.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1417815,"size":331647,"noattachment":false,"key":"/socket.io-client/-/socket.io-client-4.8.2.tgz"},"main":"./build/cjs/index.js","type":"commonjs","types":"./build/esm/index.d.ts","module":"./build/esm/index.js","browser":{"./test/node.ts":false},"engines":{"node":">=10.0.0"},"exports":{".":{"import":{"node":"./build/esm-debug/index.js","types":"./build/esm/index.d.ts","default":"./build/esm/index.js"},"require":{"types":"./build/cjs/index.d.ts","default":"./build/cjs/index.js"}},"./debug":{"import":{"types":"./build/esm/index.d.ts","default":"./build/esm-debug/index.js"},"require":{"types":"./build/cjs/index.d.ts","default":"./build/cjs/index.js"}},"./package.json":"./package.json","./dist/socket.io.js":"./dist/socket.io.js","./dist/socket.io.js.map":"./dist/socket.io.js.map"},"gitHead":"fd9d4cab5e51dd36e4d9b85b2bac59a5ff309ec0","scripts":{"test":"npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi","build":"rollup -c support/rollup.config.umd.js && rollup -c support/rollup.config.esm.js && rollup -c support/rollup.config.umd.msgpack.js","compile":"rimraf ./build && tsc && tsc -p tsconfig.esm.json && ./postcompile.sh","prepack":"npm run compile","test:node":"mocha --import=tsx --require test/support/hooks.ts --exit test/index.ts","format:fix":"prettier --write \"*.js\" \"lib/**/*.ts\" \"test/**/*.ts\" \"support/**/*.js\"","test:types":"tsd","bundle-size":"node support/bundle-size.js","format:check":"prettier --check \"*.js\" \"lib/**/*.ts\" \"test/**/*.ts\" \"support/**/*.js\"","test:browser":"ts-node test/browser-runner.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b5be00ed-88d3-478a-a22f-7c48c2379f57"}},"repository":{"url":"git+https://github.com/socketio/socket.io.git","type":"git"},"_npmVersion":"11.6.2","description":"Realtime application framework client","directories":{},"_nodeVersion":"24.12.0","dependencies":{"debug":"~4.4.1","engine.io-client":"~6.6.1","socket.io-parser":"~4.2.4","@socket.io/component-emitter":"~3.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/socket.io-client_4.8.2_1766418921733_0.16452300245488338","host":"s3://npm-registry-packages-npm-production"},"readme":"\n# socket.io-client\n\n[![Build Status](https://github.com/socketio/socket.io-client/workflows/CI/badge.svg?branch=main)](https://github.com/socketio/socket.io-client/actions)\n[![NPM version](https://badge.fury.io/js/socket.io-client.svg)](https://www.npmjs.com/package/socket.io-client)\n![Downloads](http://img.shields.io/npm/dm/socket.io-client.svg?style=flat)\n[![](http://slack.socket.io/badge.svg?)](http://slack.socket.io)\n\n[![Sauce Test Status](https://saucelabs.com/browser-matrix/socket.svg)](https://saucelabs.com/u/socket)\n\n## Documentation\n\nPlease see the documentation [here](https://socket.io/docs/v4/client-initialization/).\n\nThe source code of the website can be found [here](https://github.com/socketio/socket.io-website). Contributions are welcome!\n\n## Debug / logging\n\nIn order to see all the client debug output, run the following command on the browser console – including the desired scope – and reload your app page:\n\n```\nlocalStorage.debug = '*';\n```\n\nAnd then, filter by the scopes you're interested in. See also: https://socket.io/docs/v4/logging-and-debugging/\n\n## License\n\n[MIT](/LICENSE)\n","publish_time":1766418921910,"_cnpm_publish_time":1766418921910,"dist-tags":{"alpha":"4.6.0-alpha2","beta":"3.0.0-rc4","latest":"4.8.4","v2-latest":"2.5.0","v3-latest":"3.1.3"}}