Skip to content
JS
Package

html-to-draftjs

A library for converting plain HTML to DraftJS Editor content. Build for use with **[react-draft-wysiwyg](https://github.com/jpuri/react-draft-wysiwyg)**.

v1.5.0MITCommonJSTypes: None
$ npm install html-to-draftjs

Key numbers

As of 25 Sept 2026
Weekly downloads
219k
-1% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
-
v1.5.0
GitHub stars
163
104 forks
Open issues / PRs
40 / 33
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0100k200k300k400kSept 2025Mar 2026Sept 2026High 342k (18 Aug 2026)Low 156.9k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

218,990 downloads last week, 1,130,236 in the last month. The 12-month change of -1% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.5.0
First published
-
Last push to GitHub
10 Jan 20231,353 days before the snapshot
Repository archived
No
Open issues
40
Open pull requests
33
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
211 kB
Dependencies (0)
None
Peer dependencies (2)
draft-jsimmutable
npm install html-to-draftjs
  • jsDelivrhttps://cdn.jsdelivr.net/npm/html-to-draftjs@1.5.0/
  • unpkghttps://unpkg.com/html-to-draftjs@1.5.0/
  • esm.shhttps://esm.sh/html-to-draftjs@1.5.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.