UNPKG

ws-wrapper

Version:

Lightweight WebSocket wrapper lib with socket.io-like event handling, requests, and channels

46 lines (45 loc) 1.16 kB
{ "name": "ws-wrapper", "version": "3.0.3", "description": "Lightweight WebSocket wrapper lib with socket.io-like event handling, requests, and channels", "exports": "./lib/wrapper.mjs", "type": "module", "dependencies": { "eventemitter3": "^5.0.1" }, "devDependencies": { "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "koa": "^2.15.3", "koa-static": "^5.0.0", "parcel": "^2.13.3", "prettier": "^3.3.2", "ws": "^8.17.1" }, "scripts": { "format": "prettier --config .prettierrc --write \"**/*.js\"", "build-example": "parcel build --no-cache --dist-dir ./example-app/dist ./example-app/index.html", "lint": "eslint . --ignore-pattern dist", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/bminer/ws-wrapper.git" }, "keywords": [ "websocket", "ws", "event", "handling", "channels", "request", "namespace" ], "author": "Blake C. Miner", "license": "MIT", "bugs": { "url": "https://github.com/bminer/ws-wrapper/issues" }, "homepage": "https://github.com/bminer/ws-wrapper#readme" }