@univerjs/core is the foundation of Univer. It provides the Univer runtime, dependency injection, command and mutation services, data models, configuration, localization, and the shared Facade entry point used by higher-level packages.
| Package | UMD global | CSS | Locales | Facade entry | Worker entry |
|---|---|---|---|---|---|
@univerjs/core |
UniverCore |
No | No | Yes | No |
pnpm add @univerjs/core
# or
npm install @univerjs/coreimport { LocaleType, Univer } from '@univerjs/core';
const univer = new Univer({
locale: LocaleType.EN_US,
});- Import
@univerjs/core/facadewhen using this package through Univer Facade APIs.