Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
@univerjs/sheets-numfmt
@univerjs/sheets-numfmt adds core number-format services and commands for Univer Sheets.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry | Worker entry |
|---|---|---|---|---|---|
@univerjs/sheets-numfmt |
UniverSheetsNumfmt |
No | No | Yes | No |
Installation
pnpm add @univerjs/sheets-numfmt
# or
npm install @univerjs/sheets-numfmt
Usage
Start 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 { UniverSheetsNumfmtPlugin } from '@univerjs/sheets-numfmt';
univer.registerPlugin(UniverSheetsNumfmtPlugin);
Integration Notes
Use this package with @univerjs/sheets-numfmt-ui when users need number-format menus and editors.
- Import
@univerjs/sheets-numfmt/facadewhen using this package through Univer Facade APIs.