# prosemirror-model

> ProseMirror's document model

Latest version **1.25.12** (published 2026-09-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install prosemirror-model
pnpm add prosemirror-model
yarn add prosemirror-model
bun add prosemirror-model
```

## Health

**Score 70/100 (B)** — status: active.

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.25.12 |
| Published | 2026-09-21 |
| First published | 2016-09-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 517.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | marijn |

## Links

- npm: https://www.npmjs.com/package/prosemirror-model
- Repository: https://code.haverbeke.berlin/prosemirror/prosemirror-model
- npm.io page: https://npm.io/package/prosemirror-model

## Dependencies (1)

- [orderedmap](https://npm.io/package/orderedmap.md) ^2.0.0

## Recent versions

- 1.25.12 (latest) — 2026-09-21
- 1.17.0-beta.2 (beta) — 2022-05-21
- 1.25.11 — 2026-07-11
- 1.25.10 — 2026-07-06
- 1.25.9 — 2026-06-15
- 1.25.8 — 2026-06-10
- 1.25.7 — 2026-05-18
- 1.25.6 — 2026-05-15
- 1.25.5 — 2026-05-14
- 1.25.4 — 2025-10-21
- 1.25.3 — 2025-08-06
- 1.25.2 — 2025-07-11
- 1.25.1 — 2025-04-22
- 1.25.0 — 2025-03-18
- 1.24.1 — 2024-12-10
- … 85 more at https://npm.io/package/prosemirror-model/versions

## README

# prosemirror-model

[ [**WEBSITE**](https://prosemirror.net) | [**ISSUES**](https://code.haverbeke.berlin/prosemirror/prosemirror/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**CHANGELOG**](https://code.haverbeke.berlin/prosemirror/prosemirror-model/src/branch/main/CHANGELOG.md) ]

This is a [core module](https://prosemirror.net/docs/ref/#model) of [ProseMirror](https://prosemirror.net).
ProseMirror is a well-behaved rich semantic content editor based on
contentEditable, with support for collaborative editing and custom
document schemas.

This [module](https://prosemirror.net/docs/ref/#model) implements
ProseMirror's [document model](https://prosemirror.net/docs/guide/#doc),
along with the mechanisms needed to support
[schemas](https://prosemirror.net/docs/guide/#schema).

The [project page](https://prosemirror.net) has more information, a
number of [examples](https://prosemirror.net/examples/) and the
[documentation](https://prosemirror.net/docs/).

This code is released under an
[MIT license](https://code.haverbeke.berlin/prosemirror/prosemirror/src/branch/main/LICENSE).
There's a [forum](http://discuss.prosemirror.net) for general
discussion and support requests, and the
[bug tracker](https://code.haverbeke.berlin/prosemirror/prosemirror/issues)
is the place to report issues.

We aim to be an inclusive, welcoming community. To make that explicit,
we have a [code of
conduct](http://contributor-covenant.org/version/1/1/0/) that applies
to communication around the project.

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