{"library":"think-websocket","type":"library","category":null,"description":"WebSocket extension for ThinkJS 3.x framework. Current stable version is 1.0.8, with a maintenance status and low release cadence. It integrates WebSocket server capabilities into ThinkJS controllers, supporting events like open, close, message, and error. Unlike standalone WebSocket libraries, this is tightly coupled with ThinkJS's app lifecycle, requiring access to think.app during configuration. The package ships TypeScript definitions and requires Node.js >= 6.0.0.","language":"javascript","status":"maintenance","version":"1.0.8","tags":["javascript","typescript"],"install":[{"cmd":"npm install think-websocket","imports":["const websocket = require('think-websocket');","const websocket = require('think-websocket'); exports[websocket(think.app)];","import * as websocket from 'think-websocket';"]},{"cmd":"yarn add think-websocket","imports":[]},{"cmd":"pnpm add think-websocket","imports":[]}],"homepage":"https://github.com/thinkjs/think-websocket#readme","github":"https://github.com/thinkjs/think-websocket","docs":null,"changelog":null,"pypi":null,"npm":"think-websocket","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Sun Jun 07","next_check":"Sat Sep 05","install_tag":null}}