@univerjs/rpc-node
v0.22.1
Published
Node.js RPC plugins for Univer main-thread and worker communication.
Readme
@univerjs/rpc-node
@univerjs/rpc-node provides the Node.js counterpart for Univer RPC scenarios, allowing main-thread and worker-side plugins to communicate outside the browser.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
| --- | --- | :---: | :---: | :---: |
| @univerjs/rpc-node | UniverRpcNode | No | No | No |
Installation
pnpm add @univerjs/rpc-node
# or
npm install @univerjs/rpc-nodeKeep all @univerjs/* packages on the same version.
Usage
import { UniverRPCNodeMainPlugin } from '@univerjs/rpc-node';
univer.registerPlugin(UniverRPCNodeMainPlugin);Exported plugin classes:
UniverRPCNodeMainPluginUniverRPCNodeWorkerPlugin
