# draft-js-utils

> Collection of utilities for DraftJS

Latest version **1.4.1** (published 2022-06-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install draft-js-utils
pnpm add draft-js-utils
yarn add draft-js-utils
bun add draft-js-utils
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.1 |
| Published | 2022-06-08 |
| First published | 2016-04-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 54.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 880 |
| Author | sstur@me.com |
| Maintainers | nikgraf, sstur, trysound, sibelius |
| Keywords | draft-js, rich-text, content-tools |

## Links

- npm: https://www.npmjs.com/package/draft-js-utils
- Repository: https://github.com/sstur/draft-js-utils/tree/master/packages/draft-js-utils
- Homepage: https://github.com/sstur/draft-js-utils/blob/master/packages/draft-js-utils/README.md
- Issues: https://github.com/sstur/draft-js-utils/issues
- npm.io page: https://npm.io/package/draft-js-utils

## 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

- 1.4.1 (latest) — 2022-06-08
- 1.4.0 — 2019-07-29
- 1.3.3 — 2019-02-28
- 1.3.2 — 2019-02-27
- 1.3.0 — 2019-01-29
- 1.2.4 — 2019-01-07
- 1.2.0 — 2017-09-19
- 1.1.0 — 2017-09-07
- 1.0.2 — 2017-09-03
- 1.0.1 — 2017-09-03
- 0.2.0 — 2017-07-27
- 0.1.7 — 2016-11-03
- 0.1.6 — 2016-10-05
- 0.1.5 — 2016-05-19
- 0.1.4 — 2016-04-17
- … 2 more at https://npm.io/package/draft-js-utils/versions

## README

# Collection of utilities for DraftJS

This is a set of utilities originally built for [React-RTE](https://react-rte.org/), a rich text editor built on the awesome [DraftJS](https://github.com/facebook/draft-js).

# Development

This project uses [Flow](http://flowtype.org/) for static type checking. The type annotations are optional, but preferred. Each file can opt-in to using Flow by adding `@flow` to the docblock or put this as the first line: `// @flow`.

Flow typechecks will be run as part of the normal tests `npm run test` but can also be run separately using `npm run typecheck`.

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