UNPKG

shared-ipc

Version:

A simple JavaScript library providing an asynchronous method call interface for Workers, Iframes and cross-window contexts

51 lines (50 loc) 1.16 kB
{ "name": "shared-ipc", "version": "1.2.1", "description": "A simple JavaScript library providing an asynchronous method call interface for Workers, Iframes and cross-window contexts", "main": "dist/index.js", "type": "module", "directories": { "test": "test" }, "scripts": { "build": "rm -rf dist && rollup -c", "prepublishOnly": "npm run build", "test": "node test/test-node-worker.js" }, "repository": { "type": "git", "url": "git+https://github.com/Zekiah-A/shared-ipc.git" }, "types": "types/index.d.ts", "files": ["dist", "types"], "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.js", "types": "./types/index.d.ts" } }, "keywords": [ "ipc", "inter-process", "communication", "iframe", "worker", "postMessage" ], "author": "Zekiah-A <zekiahamoako@outlook.com>", "license": "MIT", "bugs": { "url": "https://github.com/Zekiah-A/shared-ipc/issues" }, "homepage": "https://github.com/Zekiah-A/shared-ipc#readme", "dependencies": { "@rollup/plugin-node-resolve": "^16.0.1", "tslib": "^2.8.1", "typescript": "^5.8.3" }, "devDependencies": { "rollup": "^4.40.0" } }