{"library":"as-websocket","type":"library","category":null,"description":"WebSocket bindings for AssemblyScript, enabling real-time communication in WebAssembly modules. Current stable version 1.1.2 provides a simple API to create WebSocket servers and clients directly in AssemblyScript, with automatic integration via wasmImports and wasmExports. Released under MIT, it supports both Node.js and browser environments through a UMD bundle. Key differentiator: native WebSocket support in AssemblyScript without JavaScript glue code, leveraging the official ws package on Node. Development appears slow with few updates.","language":"javascript","status":"active","version":"1.1.2","tags":["javascript","WebSocket","assemblyscript","socket","bindings","ws","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install as-websocket","imports":["import { WebSocket } from 'as-ws'","const asWebSocket = require('as-websocket')","<script src='https://unpkg.com/as-websocket@latest/browser.js'></script>\n// then use 'asWebSocket' global"]},{"cmd":"yarn add as-websocket","imports":[]},{"cmd":"pnpm add as-websocket","imports":[]}],"homepage":"https://github.com/JairusSW/as-ws#readme","github":"https://github.com/JairusSW/as-ws","docs":null,"changelog":null,"pypi":null,"npm":"as-websocket","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}