@univerjs/network provides basic network service abstractions for Univer runtimes, especially collaboration-oriented integrations.
| Package | UMD global | CSS | Locales | Facade entry | Worker entry |
|---|---|---|---|---|---|
@univerjs/network |
UniverNetwork |
No | No | Yes | No |
pnpm add @univerjs/network
# or
npm install @univerjs/networkStart with the integration setup for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.
import { UniverNetworkPlugin } from '@univerjs/network';
univer.registerPlugin(UniverNetworkPlugin);- Import
@univerjs/network/facadewhen using this package through Univer Facade APIs.