Skip to content
JS
Package

mdast-util-to-hast

mdast utility to transform to hast

v13.2.1, 23 Nov 2025MITESM onlyTypes: BundledMarkdownParsers and serialisers
$ npm install mdast-util-to-hast

Key numbers

As of 25 Sept 2026
Weekly downloads
36.8m
+272% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
9
Direct, from package.json
Last release
10 months ago
v13.2.1
GitHub stars
125
48 forks
Open issues / PRs
0 / 0
Contributors
30
Commits, last 52 weeks
6

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 50m (25 Aug 2026)Low 7.6m (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.

36,798,063 downloads last week, 181,701,830 in the last month. The 12-month change of +272% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
160 in total
Latest version
13.2.1, 23 Nov 202510 months ago
First published
18 Jun 2016
Last push to GitHub
23 Nov 2025305 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
6
Dependents on npm
370

Major versions

  1. v13 first release 13.0.0, 17 Jul 2023
  2. v12 first release 12.0.0, 3 Oct 2021
  3. v11 first release 11.0.0, 25 Apr 2021
  4. v10 first release 10.0.0, 3 Oct 2020
  5. v9 first release 9.0.0, 29 Apr 2020
  6. v8 first release 8.0.0, 22 Feb 2020
  7. v7 first release 7.0.0, 10 Nov 2019
  8. v6 first release 6.0.0, 14 May 2019
  9. v5 first release 5.0.0, 28 Apr 2019
  10. v4 first release 4.0.0, 11 Nov 2018
  11. v3 first release 3.0.0, 4 Dec 2017
  12. v2 first release 2.0.0, 2 Oct 2016
  13. v1 first release 1.0.0, 18 Jun 2016

Recent releases

VersionPublished
13.2.123 Nov 2025
13.2.07 Jun 2024
13.1.011 Jan 2024
13.0.228 Aug 2023
13.0.19 Aug 2023
13.0.017 Jul 2023
12.3.03 Feb 2023
12.2.623 Jan 2023
12.2.52 Jan 2023
12.2.428 Sept 2022
12.2.327 Sept 2022
12.2.213 Sept 2022
12.2.125 Aug 2022
12.2.01 Aug 2022
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
129 kB
Dependencies (9)
vfiledevloptrim-lines@types/hast@types/mdastunist-util-visitunist-util-position@ungap/structured-clonemicromark-util-sanitize-uri
npm install mdast-util-to-hast

CDN

jsDelivr: 799.1k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/mdast-util-to-hast@13.2.1/
  • unpkghttps://unpkg.com/mdast-util-to-hast@13.2.1/
  • esm.shhttps://esm.sh/mdast-util-to-hast@13.2.1
PackageWeekly downloadsGzipLast releaseModuleComparison
rehype-mdx-code-props387.4k-2 years agoESM only-
hast-util-to-mdast1.4m-1 year ago--
turndown6.8m-5 months agoESM + CommonJS-
rehype-katex5.2m-2 years agoESM only-
rehype-attr748.2k-6 months agoESM only-
rehype-rewrite760.2k-9 months agoESM only-
remark-github-blockquote-alert633.2k-6 months agoESM only-
remark-math5.9m-3 years agoESM only-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.