# prosemirror-inputrules

> Automatic transforms on text input for ProseMirror

Latest version **1.5.1** (published 2025-10-15) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.5.1 |
| Published | 2025-10-15 |
| First published | 2016-09-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 48 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 46 |
| Maintainers | marijn |

## Links

- npm: https://www.npmjs.com/package/prosemirror-inputrules
- Repository: https://github.com/prosemirror/prosemirror-inputrules
- Homepage: https://github.com/prosemirror/prosemirror-inputrules#readme
- Issues: https://github.com/prosemirror/prosemirror-inputrules/issues
- npm.io page: https://npm.io/package/prosemirror-inputrules

## Dependencies (2)

- [prosemirror-state](https://npm.io/package/prosemirror-state.md) ^1.0.0
- [prosemirror-transform](https://npm.io/package/prosemirror-transform.md) ^1.0.0

## Recent versions

- 1.5.1 (latest) — 2025-10-15
- 1.2.0-beta.1 (beta) — 2022-05-20
- 1.5.0 — 2025-03-18
- 1.4.0 — 2024-01-30
- 1.3.0 — 2023-11-16
- 1.2.1 — 2023-05-17
- 1.2.0 — 2022-05-30
- 1.1.3 — 2020-09-16
- 1.1.2 — 2019-11-20
- 1.1.1 — 2019-11-19
- 1.1.0 — 2019-11-08
- 1.0.4 — 2019-05-17
- 1.0.3 — 2019-05-17
- 1.0.2 — 2019-05-08
- 1.0.1 — 2017-11-10
- … 16 more at https://npm.io/package/prosemirror-inputrules/versions

## README

# prosemirror-inputrules

[ [**WEBSITE**](https://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**CHANGELOG**](https://github.com/ProseMirror/prosemirror-inputrules/blob/master/CHANGELOG.md) ]

This is a [core module](https://prosemirror.net/docs/ref/#inputrules) 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/#inputrules) exports a
plugin that can be used to define _input rules_, things that should
happen when input matching a given pattern is typed, along with a
number of predefined rules.

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://github.com/prosemirror/prosemirror/tree/master/LICENSE).
There's a [forum](http://discuss.prosemirror.net) for general
discussion and support requests, and the
[Github bug tracker](https://github.com/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-inputrules · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
