# inferno-server

> Provides methods to render HTML strings from Inferno elements

Latest version **10.0.0** (published 2026-10-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install inferno-server
pnpm add inferno-server
yarn add inferno-server
bun add inferno-server
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 10.0.0 |
| Published | 2026-10-04 |
| First published | 2016-01-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=8 |
| Dependencies | 2 |
| Unpacked size | 155.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 16453 |
| Author | Dominic Gannaway |
| Maintainers | longlho, nightwolfz, lukesheard, trueadm, havunen |
| Keywords | babel, react, inferno, framework, interfaces, user interfaces, html, renderToString, server, dom, browser, rollup |

## Links

- npm: https://www.npmjs.com/package/inferno-server
- Repository: https://github.com/infernojs/inferno
- Homepage: https://github.com/infernojs/inferno#readme
- Issues: https://github.com/infernojs/inferno/issues
- npm.io page: https://npm.io/package/inferno-server

## Dependencies (2)

- [inferno](https://npm.io/package/inferno.md) 10.0.0
- [inferno-vnode-flags](https://npm.io/package/inferno-vnode-flags.md) 10.0.0

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 10.0.0 (latest) — 2026-10-04
- 10.0.0-alpha.0 (next) — 2026-10-04
- 3.9.0-alpha.1a5cdaaa (canary) — 2017-09-01
- 4.0.0-alpha1 (alpha#4-1) — 2017-06-25
- 1.0.0-beta44 (beta44) — 2016-12-28
- 1.0.0-beta43 (beta43) — 2016-12-27
- 1.0.0-beta42 (beta42) — 2016-12-23
- 1.0.0-beta41 (beta41) — 2016-12-23
- 1.0.0-beta40 (beta40) — 2016-12-23
- 1.0.0-beta39 (beta39) — 2016-12-22
- 1.0.0-beta38 (beta38) — 2016-12-22
- 1.0.0-beta37 (beta37) — 2016-12-19
- 1.0.0-beta36 (beta36) — 2016-12-17
- 1.0.0-beta35 (beta35) — 2016-12-16
- 1.0.0-beta34 (beta34) — 2016-12-15
- … 315 more at https://npm.io/package/inferno-server/versions

## README

# inferno-server

> Inferno package for working with the server

This package serves as the entry point of the Server-related rendering paths. It is intended to be paired with the isomorphic Inferno, which will be shipped as inferno to npm.

## Install

```
npm install inferno inferno-server
```

## Contents

- renderToString
- RenderQueueStream
- RenderStream
- renderToStaticMarkup
- renderToString
- streamAsStaticMarkup
- streamAsString
- streamQueueAsStaticMarkup
- streamQueueAsString

## Usage

```js
import { renderToString } from 'inferno-server';

renderToString(<div>Hello world</div>, container);
```

---
_Source: https://npm.io/package/inferno-server · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
