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.

87 lines (86 loc) 2.49 kB
{ "name": "@dyniqo/ts-websocket", "version": "1.0.4", "author": { "name": "Dyniqo", "url": "https://dyniqo.dev" }, "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", "reflect-metadata": "^0.2.2", "utf-8-validate": "^6.0.5", "ws": "^8.18.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^28.0.1", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-typescript": "^12.1.1", "@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": "^4.21.1", "globals": "^15.12.0", "http": "^0.0.1-security", "jest": "^29.7.0", "jsonwebtoken": "^9.0.2", "net": "^1.0.2", "rimraf": "^5.0.0", "rollup": "^3.29.1", "rollup-plugin-delete": "^2.1.0", "rollup-plugin-dts": "^6.1.1", "stream-http": "^3.2.0", "ts-jest": "^29.2.5", "tslib": "^2.8.1", "typescript": "^5.2.2", "typescript-eslint": "^8.14.0", "url": "^0.11.4" }, "publishConfig": { "access": "public" } }