UNPKG

@y-presence/client

Version:

Easy way to add presence (live cursors/avatars) to your multiplayer application using Yjs

51 lines (50 loc) 1.17 kB
{ "version": "2.0.1", "name": "@y-presence/client", "description": "Easy way to add presence (live cursors/avatars) to your multiplayer application using Yjs", "author": "@nimeshnayaju", "repository": { "type": "git", "url": "git@github.com:nimeshnayaju/y-presence.git" }, "license": "MIT", "keywords": [ "yjs", "presence", "cursors", "avatars", "multiplayer", "typescript" ], "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs", "default": "./dist/index.cjs" }, "type": "module", "files": [ "dist/**" ], "scripts": { "build": "tsup", "dev": "tsup --watch", "lint": "TIMING=1 eslint src/**/*.ts* --fix", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "devDependencies": { "tsup": "^6.2.0", "typescript": "^4.7.4" }, "dependencies": { "y-webrtc": "^10.2.3", "y-websocket": "^1.4.3" } }