{"library":"think-websocket-socket.io","type":"library","category":null,"description":"Socket.io adapter for the ThinkJS framework (v1.0.x, last updated 2020). Use it to integrate Socket.io WebSocket into ThinkJS applications. Configurable path, allowOrigin, adapter (e.g., socket.io-redis for multi-node). Supports emit and broadcast actions. Designed for ThinkJS v2.x/v3.x. Low maintenance; consider alternatives for new projects.","language":"javascript","status":"maintenance","version":"1.0.13","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install think-websocket-socket.io","imports":["const socketio = require('think-websocket-socket.io');","const socketio = require('think-websocket-socket.io'); exports.websocket = { type: 'socketio', socketio: { handle: socketio } }","import * as socketio from 'think-websocket-socket.io';"]},{"cmd":"yarn add think-websocket-socket.io","imports":[]},{"cmd":"pnpm add think-websocket-socket.io","imports":[]}],"homepage":"https://github.com/thinkjs/think-websocket-socket.io#readme","github":"https://github.com/thinkjs/think-websocket-socket.io","docs":null,"changelog":null,"pypi":null,"npm":"think-websocket-socket.io","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}