# @unhead/ssr

Latest version **3.4.1** (published 2026-09-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @unhead/ssr
pnpm add @unhead/ssr
yarn add @unhead/ssr
bun add @unhead/ssr
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.4.1 |
| Published | 2026-09-15 |
| First published | 2022-11-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1305 |
| Author | Harlan Wilton <harlan@harlanzw.com> |
| Maintainers | harlan_zw |

## Links

- npm: https://www.npmjs.com/package/@unhead/ssr
- Repository: https://github.com/unjs/unhead
- Homepage: https://unhead.unjs.io
- Issues: https://github.com/unjs/unhead/issues
- Funding: https://github.com/sponsors/harlan-zw
- npm.io page: https://npm.io/package/@unhead/ssr

## Recent versions

- 3.4.1 (latest) — 2026-09-15
- 2.1.17 (2x) — 2026-08-04
- 3.0.0-rc.4 (rc) — 2026-04-09
- 3.0.0-beta.12 (beta) — 2026-03-10
- 3.0.0-beta.9 (next) — 2026-02-26
- 3.4.0 — 2026-08-21
- 3.3.2 — 2026-08-13
- 3.3.1 — 2026-08-04
- 3.3.0 — 2026-08-03
- 3.2.3 — 2026-07-22
- 3.2.2 — 2026-07-22
- 3.2.1 — 2026-07-19
- 2.1.16 — 2026-07-19
- 3.2.0 — 2026-07-19
- 3.1.8 — 2026-07-12
- … 274 more at https://npm.io/package/@unhead/ssr/versions

## README

<h1>unhead</h1>

[![npm version](https://img.shields.io/npm/v/unhead?color=yellow)](https://npmjs.com/package/unhead)
[![npm downloads](https://img.shields.io/npm/dm/unhead?color=yellow)](https://npm.chart.dev/unhead)

Unhead is a document head and template manager, improving reactive SSR JavaScript framework developer experience, SEO and performance.
See the full [introduction to Unhead](https://unhead.unjs.io/docs/typescript/head/guides/get-started/intro-to-unhead).

<p align="center">
<table>
<tbody>
<td align="center">
<sub>Made possible by my <a href="https://github.com/sponsors/harlan-zw">Sponsor Program 💖</a><br> Follow me <a href="https://twitter.com/harlan_zw">@harlan_zw</a> 🐦 • Join <a href="https://discord.gg/275MBUBvgP">Discord</a> for help</sub><br>
</td>
</tbody>
</table>
</p>

### Unhead v3 is out 🎉

32% faster, 11% smaller, streaming SSR, and a unified Vite plugin with DevTools. See the [v3 release notes](https://unhead.unjs.io/v3).

## Highlights

- 🌊 **Streaming SSR**: head tags push to the DOM as suspense boundaries resolve
- 🛠️ **Unified Vite plugin + DevTools**: tree-shaking, validation, source tracing
- ✨ `useHead()`: Deduping, sorting, tag merging, and type narrowing
- 🍣 `useSeoMeta()`: Flat SEO meta tags with compile-time transform
- 🧩 `useScript()`: Powerful and performant script loading API
- 🚀 Tiny (4.4kb gz), tree-shaken, [Capo.js](https://unhead.unjs.io/learn/guides/what-is-capo) tag sorting
- 🤝 Vue, React, Solid, Svelte, Angular. Used by [Nuxt](https://nuxt.com/)

## Get Started

Install `unhead` dependency to your project:

```bash
npm install unhead
```

> [!TIP]
> Generate an Agent Skill for this package using [skilld](https://github.com/harlan-zw/skilld):
> ```bash
> npx skilld add unhead
> ```

Visit the [documentation site](https://unhead.unjs.io/) for guides and API references.

## Sponsors

<p align="center">
  <a href="https://raw.githubusercontent.com/harlan-zw/static/main/sponsors.svg">
    <img src='https://raw.githubusercontent.com/harlan-zw/static/main/sponsors.svg'/>
  </a>
</p>

## License

MIT License © 2022-PRESENT [Harlan Wilton](https://github.com/harlan-zw)

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