Skip to content
JS
Package

preact-render-to-string

Render JSX to an HTML string, with support for Preact components.

v6.7.0, 17 May 2026MITESM + CommonJSTypes: Bundled
$ npm install preact-render-to-string

Key numbers

As of 25 Sept 2026
Weekly downloads
6.2m
+168% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 months ago
v6.7.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
02.5m5m7.5m10mSept 2025Mar 2026Sept 2026High 8.3m (25 Aug 2026)Low 1.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.

6,207,063 downloads last week, 30,812,548 in the last month. The 12-month change of +168% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
7122 in total
Latest version
6.7.0, 17 May 20264 months ago
First published
17 Oct 2015
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v6 first release 6.0.0, 27 Mar 2023
  2. v5 first release 5.0.0, 7 Mar 2019
  3. v4 first release 4.0.0, 16 Aug 2018
  4. v3 first release 3.0.0, 2 Aug 2016
  5. v2 first release 2.0.0, 13 Feb 2016
  6. v1 first release 1.0.0, 17 Oct 2015

Recent releases

VersionPublished
6.7.017 May 2026
6.6.728 Mar 2026
6.6.620 Feb 2026
6.6.531 Dec 2025
6.6.412 Dec 2025
6.6.322 Oct 2025
6.6.230 Sept 2025
6.6.120 Aug 2025
6.6.019 Aug 2025
6.5.1313 Jan 2025
6.5.1212 Dec 2024
6.5.1114 Sept 2024
6.5.1029 Aug 2024
6.5.915 Aug 2024
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
875 kB
Dependencies (0)
None
Peer dependencies (1)
preact
npm install preact-render-to-string
  • jsDelivrhttps://cdn.jsdelivr.net/npm/preact-render-to-string@6.7.0/
  • unpkghttps://unpkg.com/preact-render-to-string@6.7.0/
  • esm.shhttps://esm.sh/preact-render-to-string@6.7.0
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.