{"bugs":{"url":"https://github.com/vueuse/head/issues"},"dist":{"shasum":"bd7f88263fb1cb8a6b2293211d4fe902f315b0e2","tarball":"https://registry.npmjs.org/@vueuse/head/-/head-1.0.0-next.3.tgz","fileCount":6,"integrity":"sha512-tU5XEBjm/mYN1FiG/jH5zflLMpv2KwAzxCrVM7TeuitZFU3mPLuqybTYufV8xNjoyTn+4RFouNc+ldil121sZQ==","signatures":[{"sig":"MEYCIQCaM4YnK8gn9CeCfEBGvSxjd4cpqvK1x/Bz9yxjCXT1VAIhAOL4kOot0P/NHSmZHt9mJjD6iJBcbKsa+/HzPwSWP8Kp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbixEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqwMw//RWnQrdXz/Wy/LV2NLYT9njoOrGvHoKu8kpQ2zrFgA+/pM57B\r\n16aeTVe3byC0wvco1u0op8JNXWGbTCX4UeN0z+1ZecOieM3LKK15V+ez2NEz\r\n1hLS4+TeqtVEbk6yJI+DZv0eq4KXUVsUiO8tH+stcxPE2mwuylIcetljiaO2\r\nvgRQj3Lcoebv4MZwe8R5wgzbX58Vm+3UzOmLP3cu6kKlwP+0GJwrFmJN04Xu\r\nrY7GI0mc/2C+P1+lwQIsrm0gQFs3LJX5t2EZUMiMpdC6i/qO6ZJI+kyXYM/q\r\ni8swrm2mqqqXPfaHSBRr6ojzp/WV4Y50RW7U3u1ztl06BwI9iAv48LOmVb5g\r\n0ndJZ9srzPAcQK5b98Ud8OweGhyR8+AainuOh2j2uIf7ptMlFOfNiZlsEIIm\r\nRKrSr3mof2JggqZjL3psfI6MRcgpo5IlkvIcGxX49i89s58r9iU/gfqXt+ii\r\nvUPrOAu5WpJ/6JaM4Zk5nf5fdaYuN0cUDjGOC15ApXLvg0NjWN8FK0Vf+6oe\r\nIQYZs7ejnJ5YE5Ylq8qBpu50oK72ZWJLy6br1oQZOJfuahs3ViPGxjKy0Lyu\r\nmPaRRQSgj1E/sroSDXb63aybATareAg5fnj0n/bFj7M6892uiBGI5K+zbuKA\r\n332rT94QMjC5p9vku5brTeEk0XtgD8viLWY=\r\n=X/Jy\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":"4dccbad0f309453817fa698c82247b35d102c1f6","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.5.1","@unhead/vue":"^0.5.1","@unhead/schema":"^0.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@7.5.0","readmeFilename":"README.md","devDependencies":{"vue":"^3.2.45","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.45","@vitejs/plugin-vue":"^3.2.0","@antfu/eslint-config":"^0.29.4","@vue/server-renderer":"^3.2.45","@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.3_1668164675815_0.7476729386124239","host":"s3://npm-registry-packages"},"_id":"@vueuse/head@1.0.0-next.3","version":"1.0.0-next.3"}