# @univerjs/uniscript

> Monaco-based scripting editor for operating Univer through Facade APIs.

Latest version **0.25.2** (published 2026-09-17) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @univerjs/uniscript
pnpm add @univerjs/uniscript
yarn add @univerjs/uniscript
bun add @univerjs/uniscript
```

## Health

**Score 80/100 (A)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score; popular repo.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.25.2 |
| Published | 2026-09-17 |
| First published | 2023-12-05 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 115.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 14407 |
| Author | DreamNum Co., Ltd. |
| Maintainers | jikkai, wbfsa, mengshukeji |
| Keywords | univer, uniscript, scripting, monaco-editor, automation |

## Links

- npm: https://www.npmjs.com/package/@univerjs/uniscript
- Repository: https://github.com/dream-num/univer
- Homepage: https://univer.ai
- Issues: https://github.com/dream-num/univer/issues
- Funding: https://opencollective.com/univer
- npm.io page: https://npm.io/package/@univerjs/uniscript

## Dependencies (6)

- [@univerjs/ui](https://npm.io/package/@univerjs/ui.md) 0.25.2
- [monaco-editor](https://npm.io/package/monaco-editor.md) 0.55.1
- [@univerjs/core](https://npm.io/package/@univerjs/core.md) 0.25.2
- [@univerjs/design](https://npm.io/package/@univerjs/design.md) 0.25.2
- [@univerjs/sheets](https://npm.io/package/@univerjs/sheets.md) 0.25.2
- [@univerjs/sheets-ui](https://npm.io/package/@univerjs/sheets-ui.md) 0.25.2

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads

## Recent versions

- 0.25.2 (latest) — 2026-09-17
- 1.0.0-insiders.20260707-70502d7 (insiders) — 2026-07-07
- 1.0.0-alpha.2 (alpha) — 2026-07-04
- 0.12.4-experimental.20251211-e01e32a (experimental) — 2025-12-11
- 0.12.3-nightly.202512060617 (nightly) — 2025-12-06
- 0.8.0-beta.1 (beta) — 2025-05-29
- 1.0.0-insiders.20260703-c9ab378 — 2026-07-03
- 1.0.0-insiders.20260701-0ef51b0 — 2026-07-01
- 1.0.0-insiders.20260629-12f2e44 — 2026-06-29
- 1.0.0-alpha.1 — 2026-06-27
- 0.25.1 — 2026-06-27
- 1.0.0-alpha.0 — 2026-06-24
- 0.25.0-insiders.20260623-012b5a8 — 2026-06-23
- 0.25.0-insiders.20260623-0391ff1 — 2026-06-23
- 0.25.0-insiders.20260622-eeb6757 — 2026-06-22
- … 667 more at https://npm.io/package/@univerjs/uniscript/versions

## README

# @univerjs/uniscript

[![npm version](https://img.shields.io/npm/v/@univerjs/uniscript?style=flat-square)](https://npmjs.com/package/@univerjs/uniscript)
[![license](https://img.shields.io/npm/l/@univerjs/uniscript?style=flat-square)](https://npmjs.com/package/@univerjs/uniscript)
[![downloads](https://img.shields.io/npm/dm/@univerjs/uniscript?style=flat-square)](https://npmjs.com/package/@univerjs/uniscript)

`@univerjs/uniscript` provides a Monaco-based code editor for writing scripts that operate on Univer data structures through the Facade API.

## Package Overview

| Package | UMD global | CSS | Locales | Facade entry |
| --- | --- | :---: | :---: | :---: |
| `@univerjs/uniscript` | `UniverUniscript` | Yes | Yes | No |

## Installation

```sh
pnpm add @univerjs/uniscript
# or
npm install @univerjs/uniscript
```

Keep all `@univerjs/*` packages on the same version.

## Usage

```ts
import '@univerjs/uniscript/lib/index.css';
import EnUS from '@univerjs/uniscript/locale/en-US';
import { UniverUniscriptPlugin } from '@univerjs/uniscript';

univer.registerPlugin(UniverUniscriptPlugin);

// Merge EnUS into your Univer locale map when this package contributes UI text.
```

## Resources

- [Documentation](https://docs.univer.ai)
- [NPM package](https://npmjs.com/package/@univerjs/uniscript)
- [GitHub repository](https://github.com/dream-num/univer)

---
_Source: https://npm.io/package/@univerjs/uniscript · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
