@univerjs/core
v0.22.1
Published
Core runtime, data models, command system, dependency injection, and Facade APIs for Univer.
Readme
@univerjs/core
@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 Overview
| Package | UMD global | CSS | Locales | Facade entry |
| --- | --- | :---: | :---: | :---: |
| @univerjs/core | UniverCore | No | No | Yes |
Installation
pnpm add @univerjs/core
# or
npm install @univerjs/coreKeep all @univerjs/* packages on the same version.
Usage
import { LocaleType, Univer } from '@univerjs/core';
const univer = new Univer({
locale: LocaleType.EN_US,
});