UNPKG

@dyniqo/ts-websocket

Version:

A robust and flexible TypeScript library for managing WebSocket connections alongside an HTTP server. This library provides seamless integration into Node.js applications with built-in support for dependency injection, modular design, and extensibility.

82 lines (81 loc) 2.28 kB
{ "name": "@dyniqo/ts-websocket", "version": "1.0.3", "author": { "name": "Dyniqo", "url": "https://github.com/Dyniqo" }, "description": "A robust and flexible TypeScript library for managing WebSocket connections alongside an HTTP server. This library provides seamless integration into Node.js applications with built-in support for dependency injection, modular design, and extensibility.", "main": "dist/ts-websocket.cjs.js", "module": "dist/ts-websocket.esm.js", "types": "dist/ts-websocket.d.ts", "type": "module", "scripts": { "build": "npm run clean && rollup -c", "clean": "rimraf ./dist", "prepublish": "npm run build", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage" }, "keywords": [ "websocket", "ws", "typescript", "ts", "reconnecting", "nodejs", "library", "ts-websocket", "real-time", "websocket-manager", "real-time-communication", "dependency-injection", "modular-library", "websocket-library", "websocket-server", "real-time-apps" ], "homepage": "https://github.com/Dyniqo/ts-websocket", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/Dyniqo/ts-websocket.git" }, "bugs": { "url": "https://github.com/Dyniqo/ts-websocket/issues" }, "dependencies": { "bufferutil": "^4.0.8", "jsonwebtoken": "^8.5.1", "reflect-metadata": "^0.2.2", "utf-8-validate": "^6.0.5", "ws": "^8.18.0" }, "devDependencies": { "@types/express": "^5.0.0", "@types/inversify": "^2.0.33", "@types/jest": "^29.5.14", "@types/jsonwebtoken": "^9.0.7", "@types/node": "^22.9.0", "@types/ws": "^8.5.13", "bufferutil": "^4.0.8", "express": "^3.2.0", "globals": "^15.12.0", "http": "^3.2.0", "jest": "^29.7.0", "jwt": "^3.2.0", "net": "^3.2.0", "rimraf": "^5.0.0", "rollup": "^3.29.1", "rollup-plugin-typescript": "^0.36.0", "stream-http": "^3.2.0", "ts-jest": "^29.2.5", "typescript": "^5.2.2", "typescript-eslint": "^8.14.0", "url": "^0.11.4" }, "publishConfig": { "access": "public" } }