Files
upstream-mirror bcf6ef63ad
Some checks failed
📦 Build / build (push) Has been cancelled
🧪 CI Test / test shard (1/4) (push) Has been cancelled
🧪 CI Test / test shard (2/4) (push) Has been cancelled
🧪 CI Test / test shard (3/4) (push) Has been cancelled
🧪 CI Test / test shard (4/4) (push) Has been cancelled
🧪 CI Test / test (push) Has been cancelled
🧪 CI Test / eslint (push) Has been cancelled
🧪 CI Test / typecheck (push) Has been cancelled
🔫 Sync to Pro / dispatch-sync (push) Has been cancelled
🔮 Sync Mirror / sync (push) Has been cancelled
snapshot of https://github.com/dream-num/univer.git (dev, 2026-09-16; blobs > 131072B omitted)
2026-09-16 05:09:45 +05:00

42 lines
1.3 KiB
Markdown

# @univerjs/sheets-numfmt
[![npm version](https://img.shields.io/npm/v/@univerjs/sheets-numfmt?style=flat-square)](https://npmjs.com/package/@univerjs/sheets-numfmt)
[![license](https://img.shields.io/npm/l/@univerjs/sheets-numfmt?style=flat-square)](https://npmjs.com/package/@univerjs/sheets-numfmt)
[![downloads](https://img.shields.io/npm/dm/@univerjs/sheets-numfmt?style=flat-square)](https://npmjs.com/package/@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 |
| --- | --- | :---: | :---: | :---: |
| `@univerjs/sheets-numfmt` | `UniverSheetsNumfmt` | No | No | Yes |
## Installation
```sh
pnpm add @univerjs/sheets-numfmt
# or
npm install @univerjs/sheets-numfmt
```
Keep all `@univerjs/*` packages on the same version.
## Usage
```ts
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.
## Resources
- [Documentation](https://docs.univer.ai)
- [NPM package](https://npmjs.com/package/@univerjs/sheets-numfmt)
- [GitHub repository](https://github.com/dream-num/univer)