
Company News
Socket Joins the OpenJS Foundation
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.
Full-stack
<head>manager built for any framework
# npm
npm install unhead
# yarn
yarn add unhead
# pnpm
pnpm add unhead
import { createHead, useHead } from 'unhead'
// Create a head instance
const head = createHead()
// Use head tags
useHead({
title: 'My App',
meta: [
{
name: 'description',
content: 'My awesome application'
}
]
}, { head })
import { createHead, renderSSRHead } from 'unhead/server'
const head = createHead()
// Add head entries
useHead({
title: 'SSR App',
meta: [{ name: 'description', content: 'Server-rendered app' }]
}, { head })
// Render head tags
const { headTags, bodyTags } = await renderSSRHead(head)
import { createHead, renderDOMHead } from 'unhead/client'
const head = createHead()
// Enable DOM rendering
renderDOMHead(head)
// Add reactive head entries
useHead({
title: 'Client App'
}, { head })
Unhead provides optimized integrations for popular frameworks:
@unhead/vue@unhead/react@unhead/angular@unhead/svelte@unhead/solid-jsVisit the documentation site for comprehensive guides and API references.
FAQs
Full-stack <head> manager built for any framework.
The npm package unhead receives a total of 1,308,385 weekly downloads. As such, unhead popularity was classified as popular.
We found that unhead demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.

Security News
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.