# @contentful/rich-text-types

> Type definitions and constants for the Contentful rich text field type.

Latest version **17.2.7** (published 2026-04-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @contentful/rich-text-types
pnpm add @contentful/rich-text-types
yarn add @contentful/rich-text-types
bun add @contentful/rich-text-types
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 17.2.7 |
| Published | 2026-04-09 |
| First published | 2018-10-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20.0.0 |
| Dependencies | 0 |
| Unpacked size | 88 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 583 |
| Maintainers | it-internal, whydah-gally, contentful-ecosystem, michaelpearce |

## Links

- npm: https://www.npmjs.com/package/@contentful/rich-text-types
- Repository: https://github.com/contentful/rich-text
- Homepage: https://github.com/contentful/rich-text#readme
- Issues: https://github.com/contentful/rich-text/issues
- npm.io page: https://npm.io/package/@contentful/rich-text-types

## Recent versions

- 17.2.7 (latest) — 2026-04-09
- 17.2.6 — 2026-04-08
- 17.2.5 — 2025-11-04
- 17.2.4 — 2025-09-23
- 17.2.3 — 2025-09-23
- 17.2.2 — 2025-09-10
- 17.2.1 — 2025-09-09
- 17.2.0 — 2025-09-05
- 17.1.0 — 2025-07-15
- 17.0.1 — 2025-06-16
- 17.0.0 — 2024-10-29
- 16.8.5 — 2024-09-09
- 16.8.4 — 2024-08-26
- 16.8.3 — 2024-07-29
- 16.8.2 — 2024-07-24
- … 77 more at https://npm.io/package/@contentful/rich-text-types/versions

## README

# rich-text-types

Type definitions and constants for the Contentful rich text field type.

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