UNPKG

wsmini

Version:

Minimalist WebSocket client and server for real-time applications with RPC, PubSub, Rooms and Game state synchronization.

58 lines (57 loc) 1.41 kB
{ "dependencies": { "ws": "^8.18.0" }, "name": "wsmini", "version": "1.0.1", "description": "Minimalist WebSocket client and server for real-time applications with RPC, PubSub, Rooms and Game state synchronization.", "main": "src/index.js", "browser": "src/browser.js", "exports": { ".": { "browser": "./src/browser.js", "node": "./src/index.js", "default": "./src/index.js" }, "./client": "./src/browser.js", "./server": "./src/node.js" }, "devDependencies": { "c8": "^10.1.2", "chai": "^4.4.1", "jsdom": "^26.1.0", "mocha": "^10.7.3", "sinon": "^18.0.0", "sinon-chai": "^3.7.0" }, "engines": { "node": ">=22.0.0" }, "type": "module", "scripts": { "test": "mocha test/**/*.test.mjs", "test:watch": "mocha test/**/*.test.mjs --watch", "test:coverage": "c8 mocha test/**/*.test.mjs" }, "repository": { "type": "git", "url": "git+https://github.com/Chabloz/WsMini.git" }, "keywords": [ "WebSocket", "real-time", "RPC", "PubSub", "rooms", "game-development", "state-synchronization", "fixed-timestep", "game-loop" ], "author": "Nicolas Chabloz", "license": "MIT", "bugs": { "url": "https://github.com/Chabloz/WsMini/issues" }, "homepage": "https://github.com/Chabloz/WsMini#readme" }