UNPKG

ws-wrapper

Version:

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

67 lines (66 loc) 1.42 kB
{ "name": "ws-wrapper", "version": "4.3.1", "description": "Lightweight WebSocket wrapper lib with socket.io-like event handling, requests, and channels", "files": [ "lib", "index.mjs", "index.d.ts", "API.md", "CHANGELOG.md", "LICENSE", "PROTOCOL.md", "README.md" ], "exports": { ".": { "types": "./index.d.ts", "default": "./index.mjs" } }, "browserslist": "defaults", "type": "module", "engines": { "node": ">=14.0.0" }, "dependencies": { "eventemitter3": "^5.0.1" }, "devDependencies": { "@eslint/js": "^10.0.1", "eslint": "^10.2.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.1.3", "globals": "^17.5.0", "koa": "^3.1.2", "koa-static": "^5.0.0", "parcel": "^2.13.3", "prettier": "^3.3.2", "ws": "^8.17.1" }, "scripts": { "format": "prettier --config .prettierrc --write \"**/*.{js,mjs,md}\"", "build-example": "parcel build --no-cache --dist-dir ./example-app/dist ./example-app/index.html", "lint": "eslint .", "test": "node --test" }, "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" }