{"name":"socket.io-client","version":"4.8.1","description":"Realtime application framework client","keywords":["realtime","framework","websocket","tcp","events","client"],"type":"commonjs","main":"./build/cjs/index.js","module":"./build/esm/index.js","exports":{"./package.json":"./package.json","./dist/socket.io.js":"./dist/socket.io.js","./dist/socket.io.js.map":"./dist/socket.io.js.map",".":{"import":{"types":"./build/esm/index.d.ts","node":"./build/esm-debug/index.js","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"}}},"types":"./build/esm/index.d.ts","dependencies":{"@socket.io/component-emitter":"~3.1.0","debug":"~4.3.2","engine.io-client":"~6.6.1","socket.io-parser":"~4.2.4"},"scripts":{"compile":"rimraf ./build && tsc && tsc -p tsconfig.esm.json && ./postcompile.sh","test":"npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi","test:node":"mocha --require ts-node/register --require test/support/hooks.ts --exit test/index.ts","test:browser":"ts-node test/browser-runner.ts","test:types":"tsd","build":"rollup -c support/rollup.config.umd.js && rollup -c support/rollup.config.esm.js && rollup -c support/rollup.config.umd.msgpack.js","bundle-size":"node support/bundle-size.js","format:check":"prettier --check \"*.js\" \"lib/**/*.ts\" \"test/**/*.ts\" \"support/**/*.js\"","format:fix":"prettier --write \"*.js\" \"lib/**/*.ts\" \"test/**/*.ts\" \"support/**/*.js\"","prepack":"npm run compile"},"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","repository":{"type":"git","url":"git+https://github.com/socketio/socket.io.git"},"bugs":{"url":"https://github.com/socketio/socket.io/issues"},"license":"MIT","engines":{"node":">=10.0.0"},"tsd":{"directory":"test"},"browser":{"./test/node.ts":false},"_id":"socket.io-client@4.8.1","gitHead":"8d5528aa2abc530f9e35f53935083894cec38c99","_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-hJVXfu3E28NmzGk8o1sHhN3om52tRvwYeidbj7xKy2eIIse5IoKX3USlS6Tqt3BHAtflLIkCQBkzVrEEfWUyYQ==","shasum":"1941eca135a5490b94281d0323fe2a35f6f291cb","tarball":"http://registry-npm.ywwl.com/socket.io-client/download/socket.io-client-4.8.1.tgz","fileCount":55,"unpackedSize":1414277,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/socket.io-client@4.8.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+aOnJvs1dVxBq6HJrFUmYTTCTYA+Y81dG9x4CQBBkBAIhAJRGhNirPUqgHAxnp13cq0xK6Azkfv7G/hQSucbDRZ63"}],"size":330470,"noattachment":false,"key":"/socket.io-client/-/socket.io-client-4.8.1.tgz"},"_npmUser":{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/socket.io-client_4.8.1_1729836179932_0.577985600989068"},"_hasShrinkwrap":false,"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":1729836180286,"maintainers":[{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"}],"_cnpm_publish_time":1729836180286,"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"}}