Key numbers
As of 25 Sept 2026
- Weekly downloads
- 10.1m
- +407% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 4
- Direct, from package.json
- Last release
- 2 years ago
- v4.0.2
- GitHub stars
- 25
- 2 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
10,149,527 downloads last week, 50,813,088 in the last month. The 12-month change of +407% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 011 in total
- Latest version
- 4.0.2, 16 Apr 20242 years ago
- First published
- 22 May 2019
- Last push to GitHub
- 16 Apr 2024891 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 0
- Dependents on npm
- 126
Major versions
- v4 first release 4.0.0, 2 Aug 2023
- v3 first release 3.0.0, 28 Apr 2021
- v2 first release 2.0.0, 28 Feb 2020
- v1 first release 1.0.0, 22 May 2019
Recent releases
| Version | Published |
|---|---|
| 4.0.2 | 16 Apr 2024 |
| 4.0.1 | 7 Apr 2024 |
| 4.0.0 | 2 Aug 2023 |
| 3.1.2 | 5 Jan 2023 |
| 3.1.1 | 8 Oct 2021 |
| 3.1.0 | 23 Aug 2021 |
| 3.0.0 | 28 Apr 2021 |
| 2.0.1 | 31 Oct 2020 |
| 2.0.0 | 28 Feb 2020 |
| 1.0.1 | 22 May 2019 |
| 1.0.0 | 22 May 2019 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 33 kB
- Dependencies (4)
@types/hast@types/unisthast-util-is-elementunist-util-find-after
npm install hast-util-to-textCDN
jsDelivr: 67.2k requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/hast-util-to-text@4.0.2/ - unpkg
https://unpkg.com/hast-util-to-text@4.0.2/ - esm.sh
https://esm.sh/hast-util-to-text@4.0.2
Indexability: Not indexed (discovery only): no category.