UNPKG

@broadcaster/core

Version:

Cross window serverless messaging system based on BroadcastChannel API. Allows to send messages and keep track about instances between browsing contexts (tabs, windows, workers, etc..)

50 lines (49 loc) 1.34 kB
{ "name": "@broadcaster/core", "version": "2.1.1", "description": "Cross window serverless messaging system based on BroadcastChannel API. Allows to send messages and keep track about instances between browsing contexts (tabs, windows, workers, etc..)", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "files": [ "dist" ], "types": "dist/esm/index.d.ts", "scripts": { "build": "npm run clean && rollup -c --bundleConfigAsCjs", "clean": "npx rimraf ./dist", "lint": "eslint ./src --fix", "prepublish": "npm run build", "test": "jest", "test-watch": "npm run test -- --watch --coverage", "watch": "npx tsc --watch" }, "repository": { "type": "git", "url": "git+https://github.com/pavelstencl/broadcasterJS.git" }, "keywords": [ "message", "broadcast", "channel", "BroadcastChannel", "share", "metadata", "tabs", "windows", "browser", "workers", "connect", "connection", "cross", "communicate", "browsing", "context" ], "author": "Pavel Stencl", "license": "MIT", "bugs": { "url": "https://github.com/pavelstencl/broadcaster/issues" }, "homepage": "https://github.com/pavelstencl/broadcasterJS/tree/main/packages/core#readme", "gitHead": "56b682c3012c0d5e91bbbc0745e9bd7b9a59dc1d" }