universal-message
Version:
A universal message communication library for JavaScript/TypeScript that works across different environments including Worker threads, WebSocket, and other communication channels
66 lines • 1.41 kB
JSON
{
"name": "universal-message",
"version": "0.1.13",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"author": {
"name": "tocha688",
"url": "https://github.com/tocha688"
},
"description": "A universal message communication library for JavaScript/TypeScript that works across different environments including Worker threads, WebSocket, and other communication channels",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/tocha688/universal-message"
},
"keywords": [
"message",
"communication",
"universal",
"websocket",
"worker",
"threads",
"rpc",
"plugin",
"typescript",
"javascript"
],
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"test": "bun test"
},
"devDependencies": {
"@types/bun": "latest",
"tsup": "^8.5.0"
},
"peerDependencies": {
"typescript": "^5"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
},
"dependencies": {
"class-transformer": "^0.5.1",
"fast-copy": "^3.0.2",
"flatted": "^3.3.3",
"reflect-metadata": "^0.2.2"
}
}