{"bugs":{"url":"https://github.com/vueuse/head/issues"},"dist":{"shasum":"ae9698d4fbbee22308da3026b2b7a32f51ab0211","tarball":"https://registry.npmjs.org/@vueuse/head/-/head-1.0.0-next.2.tgz","fileCount":6,"integrity":"sha512-abcK7ET4f7NVC8p9dlH0HjdcZ2T2LHsc42184ZpXyKVT2Ifmx+oiB4t69BWIDNRL5wRQtuRmehOLJIa9UXJ+tw==","signatures":[{"sig":"MEYCIQDptxtjeSh76Wyut/HCNFgxy+M0J7MBwJI/TafpA/KM4wIhAJgtv/Bf9eA0J3EX3LP4ALT6U5PJfeB6N6/oySDVTYsM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbfLhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGpw//eKoVNdnihRsbswvBRegnAOZZU9XwAU9McBV9sL+8m88gbcCu\r\ncIRp7zaXSESOegpIcaVaXpuNnhG9SC4IqKWv36UF2WBZMJcS9qs0fgD7Pf2A\r\nteIOScdT9G8xl8zeVz+lXJVWRni3bhrgjp8vLAhR632F0EqJEvP+dyldEFh+\r\nkmYRRm3B4Vkesws/Kq7b8axFGtm6i3Tn1U4t7fZSVEC/NkYwAyI3mYyFNEbE\r\nq4W7aE9BkYUO8cvNnmzonR25Lkj+2UbietgYk5/cJf9StfTlWqAWcdfS/vxS\r\n7dZnMK3V5EwtSWJrY5WzACQfe+GsLX3qIE23vR37Tw+WMIXGkKXZoAQLZEqh\r\npMPrP8eqFwKgN4Wffr32RjktcMxAA0qDpcIqe3kMt6VovcgkWc5YIIRX9nq4\r\n8G6fCj7zm7S7x5oIIlm/MGKz+I9d3lfAlEtsE7WbS6OnXyrNT+yDk1sL74GQ\r\nilnvki/DuJ7YaKHvtSBpjgeCdx+P5oA+mHVIkFZOuyMDa1fzM5XcJ9CjVjpF\r\nbfOyA9Yb9/qNbaVV1CSAJXoVbCPrW0liC8LnpoINx1m5tX3aB01SfZgc1zlE\r\nEiWfTA4eiWhDw7O1D4DG/Cy0+xVTiX0PpXc6+0MrsQ8oGr/rdOUiXQideO82\r\njndM+IhNLx0Ty2hWh+wAK7/6Mtiwwb4qOIk=\r\n=SEoK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs","name":"@vueuse/head","types":"dist/index.d.ts","author":{"url":"https://egoist.sh","name":"EGOIST"},"module":"dist/index.mjs","readme":"<h1 align='center'>@vueuse/head</h1>\n\n<p align=\"center\">\n<a href='https://github.com/harlan-zw/unhead/actions/workflows/test.yml'>\n</a>\n<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>\n<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>\n<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>\n</p>\n\n\n<p align=\"center\">\nSuper-charged document head management for Vue, powered by <a href=\"https://unhead.harlanzw.com/\">unhead</a>.\n</p>\n\n<p align=\"center\">\n<table>\n<tbody>\n<td align=\"center\">\n<img width=\"800\" height=\"0\" /><br>\nCreated by <a href=\"https://github.com/sponsors/egoist\">egoist</a>, maintained by <a href=\"https://github.com/harlan-zw\">harlan-zw</a> <br>\n<sub>💛 Support ongoing development by sponsoring us.</sub><br> \n<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>\n<img width=\"800\" height=\"0\" />\n</td>\n</tbody>\n</table>\n</p>\n\n## Features\n\n- 💎 Fully typed augmentable Schema\n- 🧑‍🤝‍🧑 Side-effect based DOM patching, plays nicely your existing other tags and attributes\n- 🍣 Intuitive deduping, sorting, title templates, class merging and more\n- 🪝 Extensible hook / plugin based API\n\n## Installation\n\n```bash\nnpm i @vueuse/head@next\n# Or Yarn\nyarn add @vueuse/head@next\n```\n\n> Requires vue >= v3 or >=2.7\n\n## Usage\n\n### Vue 3\n\nRegister the Vue plugin:\n\n```ts\nimport { createApp } from \"vue\"\nimport { createHead } from \"@vueuse/head\"\n\nconst app = createApp()\nconst head = createHead()\n\napp.use(head)\n\napp.mount(\"#app\")\n```\n\n### Vue 2\n\nRegister the Vue plugin:\n\n```ts\nimport Vue from 'vue'\nimport { createHead, HeadVuePlugin } from \"@vueuse/head\"\n\nconst head = createHead()\n// needed for Vue 2\nVue.use(HeadVuePlugin, head)\nVue.use(head)\n\nnew Vue({\n  render: h => h(App),\n}).$mount('#app')\n```\n\n### SSR Rendering\n\n```ts\nimport { renderToString } from \"@vue/server-renderer\"\nimport { renderHeadToString } from \"@vueuse/head\"\n\nconst appHTML = await renderToString(yourVueApp)\n\n// `head` is created from `createHead()`\nconst { headTags, htmlAttrs, bodyAttrs, bodyTags } = renderHeadToString(head)\n\nconst finalHTML = `\n<html${htmlAttrs}>\n\n  <head>\n    ${headTags}\n  </head>\n\n  <body${bodyAttrs}>\n    <div id=\"app\">${appHTML}</div>\n    ${bodyTags}\n  </body>\n\n</html>`\n```\n\n## Further Documentation\n\nRefer to the [unhead documentation](https://unhead.harlanzw.com/) for full API reference and more.\n\n## Sponsors\n\n<p align=\"center\">\n  <a href=\"https://raw.githubusercontent.com/harlan-zw/static/main/sponsors.svg\">\n    <img src='https://raw.githubusercontent.com/harlan-zw/static/main/sponsors.svg'/>\n  </a>\n</p>\n\n\n## License\n\nMIT &copy; [EGOIST](https://egoist.sh)\nMIT License © 2022-PRESENT [Harlan Wilton](https://github.com/harlan-zw)\n","gitHead":"90e6e132f71e7fe9d794181d307095a79b1efa88","license":"MIT","scripts":{"lint":"eslint \"**/*.{ts,vue,json,yml,tsx}\" --fix","stub":"unbuild --stub","test":"nuxi prepare examples/nuxt3 && vitest","build":"unbuild","release":"kanpai","test:e2e":"vitest tests/e2e","play:vite":"vite examples/vite-ssr","prepublishOnly":"npm run build"},"_npmUser":{"name":"egoist","email":"0x142857@gmail.com"},"homepage":"https://github.com/vueuse/head#readme","keywords":["vue","head","document","ssr","meta"],"repository":{"url":"git+https://github.com/vueuse/head.git","type":"git"},"_npmVersion":"8.19.2","description":"Document head manager for Vue 3. SSR ready.","directories":{},"lint-staged":{"*.{ts,vue,json,yml,tsx}":["eslint \"**/*.{ts,vue,json,yml,tsx}\" --fix"]},"maintainers":[{"name":"antfu","email":"anthonyfu117@hotmail.com"},{"name":"egoist","email":"0x142857@gmail.com"},{"name":"tahul","email":"yael@ipseity.fr"}],"resolutions":{"@vueuse/head":"link:."},"sideEffects":false,"_nodeVersion":"16.18.0","dependencies":{"@unhead/ssr":"^0.4.7","@unhead/vue":"^0.4.7","@unhead/schema":"^0.4.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@7.5.0","readmeFilename":"README.md","devDependencies":{"vue":"^3.2.44","mlly":"^0.5.16","nuxt":"^3.0.0-rc.12","vite":"^3.2.3","execa":"^6.1.0","jsdom":"^20.0.2","pathe":"^0.3.9","eslint":"^8.27.0","kanpai":"^0.11.0","vitest":"^0.25.1","cheerio":"1.0.0-rc.12","unbuild":"^0.9.4","@nuxt/kit":"3.0.0-rc.13","playwright":"^1.27.1","typescript":"^4.8.4","vue-router":"^4.1.6","lint-staged":"^13.0.3","get-port-please":"^2.6.1","@nuxt/test-utils":"3.0.0-rc.13","simple-git-hooks":"^2.8.1","@vue/compiler-sfc":"^3.2.44","@vitejs/plugin-vue":"^3.2.0","@antfu/eslint-config":"^0.29.4","@vue/server-renderer":"^3.2.44","@vitejs/plugin-vue-jsx":"^2.1.1"},"peerDependencies":{"vue":">=2.7 || >=3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/head_1.0.0-next.2_1668149985786_0.3537408397474038","host":"s3://npm-registry-packages"},"_id":"@vueuse/head@1.0.0-next.2","version":"1.0.0-next.2"}