{"library":"simple-ng-websocket","type":"library","category":null,"description":"Simple-ng-websocket (v0.3.1) is a lightweight, minimal Angular wrapper around the browser's native WebSocket API. It provides a straightforward injectable service with event-based messaging (open, message, close, error) and supports optional JSON serialization. This package requires Angular >=12 and offers no reconnection logic, observables, or advanced features; it's designed for simple real-time communication without the overhead of larger libraries like ngx-socket-io or rxjs-websocket. Being an early release, it has minimal community adoption and limited ongoing maintenance.","language":"javascript","status":"active","version":"0.3.1","tags":["javascript","WebSocket","Angular","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install simple-ng-websocket","imports":["import { SimpleNgWebSocket } from 'simple-ng-websocket';","import { CONNECT_URL } from 'simple-ng-websocket';","import { LOGGER } from 'simple-ng-websocket';"]},{"cmd":"yarn add simple-ng-websocket","imports":[]},{"cmd":"pnpm add simple-ng-websocket","imports":[]}],"homepage":"https://github.com/ktanakaj/simple-ng-websocket","github":"https://github.com/ktanakaj/simple-ng-websocket","docs":null,"changelog":null,"pypi":null,"npm":"simple-ng-websocket","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}