# @types/draft-js

> TypeScript definitions for draft-js

Latest version **0.11.20** (published 2025-11-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/draft-js
pnpm add @types/draft-js
yarn add @types/draft-js
bun add @types/draft-js
```

## Health

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

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.11.20 |
| Published | 2025-11-14 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 57.5 KB |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 51441 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/draft-js
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/draft-js
- npm.io page: https://npm.io/package/@types/draft-js

## Dependencies (2)

- [immutable](https://npm.io/package/immutable.md) ~3.7.4
- [@types/react](https://npm.io/package/@types/react.md) *

## Recent versions

- 0.11.20 (latest) — 2025-11-14
- 0.11.18 (ts4.6) — 2024-02-29
- 0.11.16 (ts4.5) — 2023-11-20
- 0.11.12 (ts4.4) — 2023-06-08
- 0.11.10 (ts4.2) — 2022-12-05
- 0.11.9 (ts3.8) — 2022-02-04
- 0.11.6 (ts3.7) — 2021-10-12
- 0.11.4 (ts3.6) — 2021-07-06
- 0.11.3 (ts3.5) — 2021-05-19
- 0.10.44 (ts3.2) — 2020-08-28
- 0.10.43 (ts3.0) — 2020-07-07
- 0.10.40 (ts2.9) — 2020-04-16
- 0.10.33 (ts2.8) — 2019-06-21
- 0.10.23 (ts2.7) — 2018-05-04
- 0.10.19 (ts2.5) — 2017-12-05
- … 71 more at https://npm.io/package/@types/draft-js/versions

## README

# Installation
> `npm install --save @types/draft-js`

# Summary
This package contains type definitions for draft-js (https://facebook.github.io/draft-js/).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/draft-js.

### Additional Details
 * Last updated: Fri, 14 Nov 2025 21:33:10 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react), [immutable](https://npmjs.com/package/immutable)

# Credits
These definitions were written by [Dmitry Rogozhny](https://github.com/dmitryrogozhny), [Eelco Lempsink](https://github.com/eelco), [Yale Cason](https://github.com/ghotiphud), [Ryan Schwers](https://github.com/schwers), [Michael Wu](https://github.com/michael-yx-wu), [Willis Plummer](https://github.com/willisplummer), [Santiago Vilar](https://github.com/smvilar), [Ulf Schwekendiek](https://github.com/sulf), [Pablo Varela](https://github.com/pablopunk), [Kevin Hawkinson](https://github.com/khawkinson), [Peter Dekkers](https://github.com/PeterDekkers), and [Ankit Ranjan](https://github.com/ankitr).

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