# @vueuse/head

> Document head manager for Vue 3. SSR ready.

Latest version **2.0.0** (published 2023-09-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @vueuse/head
pnpm add @vueuse/head
yarn add @vueuse/head
bun add @vueuse/head
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2023-09-13 |
| First published | 2021-01-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 11 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 949 |
| Author | EGOIST |
| Maintainers | sxzz, antfu, egoist, tahul |
| Keywords | vue, head, document, ssr, meta |

## Links

- npm: https://www.npmjs.com/package/@vueuse/head
- Repository: https://github.com/vueuse/head
- Homepage: https://github.com/vueuse/head#readme
- Issues: https://github.com/vueuse/head/issues
- npm.io page: https://npm.io/package/@vueuse/head

## Dependencies (4)

- [@unhead/dom](https://npm.io/package/@unhead/dom.md) ^1.7.0
- [@unhead/ssr](https://npm.io/package/@unhead/ssr.md) ^1.7.0
- [@unhead/vue](https://npm.io/package/@unhead/vue.md) ^1.7.0
- [@unhead/schema](https://npm.io/package/@unhead/schema.md) ^1.7.0

## Alternatives

- [@cantoo/pdf-lib](https://npm.io/package/@cantoo/pdf-lib.md) — 297.9K weekly downloads
- [datatables.net-buttons](https://npm.io/package/datatables.net-buttons.md) — 200.1K weekly downloads
- [@ckeditor/ckeditor5-export-pdf](https://npm.io/package/@ckeditor/ckeditor5-export-pdf.md) — 167.0K weekly downloads
- [scanbot-web-sdk](https://npm.io/package/scanbot-web-sdk.md) — 15.0K weekly downloads
- [@syncfusion/ej2-angular-pdfviewer](https://npm.io/package/@syncfusion/ej2-angular-pdfviewer.md) — 8.8K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2023-09-13
- 1.0.0-next.3 (next) — 2022-11-11
- 1.0.0-rc.14 (rc) — 2022-10-25
- 1.3.1 — 2023-08-14
- 1.1.26 — 2023-04-18
- 1.1.23 — 2023-03-13
- 1.1.19 — 2023-03-07
- 1.1.15 — 2023-03-02
- 1.1.9 — 2023-02-26
- 1.1.8 — 2023-02-26
- 1.1.7 — 2023-02-26
- 1.1.5 — 2023-02-25
- 1.1.4 — 2023-02-25
- 1.1.3 — 2023-02-25
- 1.1.1 — 2023-02-25
- … 82 more at https://npm.io/package/@vueuse/head/versions

## README

<h1 align='center'>@vueuse/head - 🌇 Sunset</h1>

<p align="center">
<a href='https://github.com/harlan-zw/unhead/actions/workflows/test.yml'>
</a>
<a href="https://www.npmjs.com/package/@vueuse/head" target="__blank"><img src="https://img.shields.io/npm/v/@vueuse/head?style=flat&colorA=002438&colorB=28CF8D" alt="NPM version"></a>
<a href="https://www.npmjs.com/package/@vueuse/head" target="__blank"><img alt="NPM Downloads" src="https://img.shields.io/npm/dm/@vueuse/head?flat&colorA=002438&colorB=28CF8D"></a>
<a href="https://github.com/vueuse/head" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/vueuse/head?flat&colorA=002438&colorB=28CF8D"></a>
</p>


<p align="center">
Document head management for Vue. Powered by <a href="https://unhead.harlanzw.com/">Unhead</a>.
</p>

<p align="center">
<table>
<tbody>
<td align="center">
<img width="800" height="0" /><br>
Created by <a href="https://github.com/sponsors/egoist">egoist</a>, maintained by <a href="https://github.com/harlan-zw">harlan-zw</a> <br>
<sub>💛 Support ongoing development by sponsoring us.</sub><br> 
<sub>Follow <a href="https://twitter.com/harlan_zw">🐦 @harlan_zw</a> for updates  • Join <a href="https://discord.gg/275MBUBvgP">Discord</a> for support</sub><br>
<img width="800" height="0" />
</td>
</tbody>
</table>
</p>

### 🌇 Sunsetting @vueuse/head

The `@vueuse/head` package has been sunset in favour of Unhead. This means no new features will be added to this package and
installation of this package directly will be discouraged.

[Unhead](https://unhead.unjs.io) is a any-framework document head manager with a focus on delightful DX and performance. 
It's used in the Nuxt core and is part of the UnJS ecosystem. 

This package and Unhead share an almost identical API and migrating in most cases will just involve updating the package names.

The `@vueuse/head` package will continue to receive bug fixes and security updates for the foreseeable future.

[Installation guide](https://unhead.unjs.io/setup/vue/installation)

## Docs

[Unhead documentation](https://unhead.unjs.io/setup/vue/installation)

## Migrating to Unhead from @vueuse/head

Replace all imports of `@vueuse/head` with `@unhead/vue`.

If you're using the `<Head>` component you will need to import it from `@unhead/vue/components`.

## 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 &copy; [EGOIST](https://egoist.sh)
MIT License © 2022-PRESENT [Harlan Wilton](https://github.com/harlan-zw)

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