{"id":15640312,"url":"https://github.com/danielroe/nuxt-capo","last_synced_at":"2025-04-05T00:06:42.676Z","repository":{"id":168904713,"uuid":"644499070","full_name":"danielroe/nuxt-capo","owner":"danielroe","description":"`capo.js` implementation for Nuxt 3","archived":false,"fork":false,"pushed_at":"2025-03-31T14:31:36.000Z","size":2313,"stargazers_count":85,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T15:58:40.358Z","etag":null,"topics":["nuxt-module"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielroe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["danielroe"]}},"created_at":"2023-05-23T16:35:40.000Z","updated_at":"2025-03-31T14:31:39.000Z","dependencies_parsed_at":"2024-03-16T22:55:27.045Z","dependency_job_id":"2def6fc8-20b7-45cd-b70c-980f7c7da682","html_url":"https://github.com/danielroe/nuxt-capo","commit_stats":{"total_commits":189,"total_committers":4,"mean_commits":47.25,"dds":"0.13227513227513232","last_synced_commit":"b2394cdae743142a6565ba220f9d3c2116b31cbf"},"previous_names":["danielroe/nuxt-capo"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fnuxt-capo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fnuxt-capo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fnuxt-capo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fnuxt-capo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielroe","download_url":"https://codeload.github.com/danielroe/nuxt-capo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266563,"owners_count":20910836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nuxt-module"],"created_at":"2024-10-03T11:33:54.894Z","updated_at":"2025-04-05T00:06:42.656Z","avatar_url":"https://github.com/danielroe.png","language":"TypeScript","funding_links":["https://github.com/sponsors/danielroe"],"categories":["TypeScript"],"sub_categories":[],"readme":"# capo.js for Nuxt\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![Github Actions][github-actions-src]][github-actions-href]\n[![Codecov][codecov-src]][codecov-href]\n\n\u003e `capo.js` implementation for [Nuxt 3](https://nuxt.com)\n\n- [✨ \u0026nbsp;Changelog](https://github.com/danielroe/nuxt-capo/blob/main/CHANGELOG.md)\n- [▶️ \u0026nbsp;Online playground](https://stackblitz.com/github/danielroe/nuxt-capo/tree/main/playground)\n\n## What is Capo.js\n[Capo.js](https://github.com/rviscomi/capo.js) is a small snippet that identifies ways to boost the (perceived) performance of your page, by changing the order of elements in the page's `\u003chead\u003e` section.\n\n## Features\n\n- ✨ validates your `\u003chead\u003e` in dev mode and when prerendering pages\n- 🔎 visualises optimal head configuration\n\n## Installation\n\nInstall and add `nuxt-capo` to your `nuxt.config`.\n\n```bash\nnpx nuxi@latest module add capo\n```\n\n```js\nexport default defineNuxtConfig({\n  modules: ['nuxt-capo'],\n})\n```\n\n## Usage\n\nThat's it! You should now see debugging info and suggestions when server rendering your routes\n\n| | |\n| - | - |\n| ![Optimal head configuration](./.github/images/optimal.png)| ![Suggestions for head](./.github/images/changes.png) |\n\n## Credits\n\nThanks to [**@rviscomi**](https://github.com/rviscomi) for making [capo.js](https://github.com/rviscomi/capo.js)!\n\n## 💻 Development\n\n- Clone this repository\n- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`\n- Install dependencies using `pnpm install`\n- Stub module with `pnpm dev:prepare`\n- Run `pnpm dev` to start [playground](./playground) in development mode\n\n## License\n\nMade with ❤️\n\nPublished under the [MIT License](./LICENCE).\n\n\u003c!-- Badges --\u003e\n\n[npm-version-src]: https://img.shields.io/npm/v/nuxt-capo?style=flat-square\n[npm-version-href]: https://npmjs.com/package/nuxt-capo\n[npm-downloads-src]: https://img.shields.io/npm/dm/nuxt-capo?style=flat-square\n[npm-downloads-href]: https://npm.chart.dev/nuxt-capo\n[github-actions-src]: https://img.shields.io/github/actions/workflow/status/danielroe/nuxt-capo/ci.yml?branch=main\n[github-actions-href]: https://github.com/danielroe/nuxt-capo/actions?query=workflow%3Aci\n[codecov-src]: https://img.shields.io/codecov/c/gh/danielroe/nuxt-capo/main?style=flat-square\n[codecov-href]: https://codecov.io/gh/danielroe/nuxt-capo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielroe%2Fnuxt-capo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielroe%2Fnuxt-capo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielroe%2Fnuxt-capo/lists"}