Skip to content
JS
Package

hast-util-to-html

hast utility to serialize to HTML

v9.0.5, 19 Feb 2025MITESM onlyTypes: Bundled
$ npm install hast-util-to-html

Key numbers

As of 25 Sept 2026
Weekly downloads
16.5m
+372% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
11
Direct, from package.json
Last release
1 year ago
v9.0.5
GitHub stars
118
23 forks
Open issues / PRs
1 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30mSept 2025Mar 2026Sept 2026High 21.9m (25 Aug 2026)Low 2.8m (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.

16,476,008 downloads last week, 79,542,889 in the last month. The 12-month change of +372% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
031 in total
Latest version
9.0.5, 19 Feb 20251 year ago
First published
18 Jun 2016
Last push to GitHub
19 Feb 2025582 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
442

Major versions

  1. v9 first release 9.0.0, 6 Aug 2023
  2. v8 first release 8.0.0, 1 May 2021
  3. v7 first release 7.0.0, 16 Jan 2020
  4. v6 first release 6.0.0, 29 May 2019
  5. v5 first release 5.0.0, 7 Nov 2018
  6. v4 first release 4.0.0, 17 Jul 2018
  7. v3 first release 3.0.0, 6 Nov 2016
  8. v2 first release 2.0.0, 3 Jul 2016
  9. v1 first release 1.0.0, 18 Jun 2016

Recent releases

VersionPublished
9.0.519 Feb 2025
9.0.413 Dec 2024
9.0.316 Sept 2024
9.0.227 Aug 2024
9.0.13 Apr 2024
9.0.06 Aug 2023
8.0.48 Jan 2023
8.0.330 Oct 2021
8.0.231 Aug 2021
8.0.120 Jul 2021
8.0.01 May 2021
7.1.325 Apr 2021
7.1.230 Oct 2020
7.1.18 May 2020
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
70 kB
Dependencies (11)
ccountzwitch@types/hast@types/unisthtml-void-elementsmdast-util-to-haststringify-entitieshast-util-whitespaceproperty-informationcomma-separated-tokensspace-separated-tokens
npm install hast-util-to-html

CDN

jsDelivr: 398.5k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/hast-util-to-html@9.0.5/
  • unpkghttps://unpkg.com/hast-util-to-html@9.0.5/
  • esm.shhttps://esm.sh/hast-util-to-html@9.0.5
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

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