{"id":17531208,"url":"https://github.com/kirklin/boot-unplugin","last_synced_at":"2025-10-29T23:20:34.404Z","repository":{"id":113024060,"uuid":"577644602","full_name":"kirklin/boot-unplugin","owner":"kirklin","description":"Starter template for unplugin.","archived":false,"fork":false,"pushed_at":"2023-10-08T04:00:34.000Z","size":332,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-20T19:48:31.750Z","etag":null,"topics":["unplugin"],"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/kirklin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"kirklin","patreon":"kirklin","custom":["https://www.buymeacoffee.com/linkirk"]}},"created_at":"2022-12-13T07:48:07.000Z","updated_at":"2023-03-28T03:04:18.000Z","dependencies_parsed_at":"2023-04-11T03:32:23.269Z","dependency_job_id":null,"html_url":"https://github.com/kirklin/boot-unplugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirklin%2Fboot-unplugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirklin%2Fboot-unplugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirklin%2Fboot-unplugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirklin%2Fboot-unplugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kirklin","download_url":"https://codeload.github.com/kirklin/boot-unplugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228799879,"owners_count":17973968,"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":["unplugin"],"created_at":"2024-10-20T17:23:18.483Z","updated_at":"2025-10-29T23:20:34.325Z","avatar_url":"https://github.com/kirklin.png","language":"TypeScript","readme":"# boot-unplugin\n\n[![NPM version](https://img.shields.io/npm/v/boot-unplugin?color=a1b858\u0026label=)](https://www.npmjs.com/package/boot-unplugin)\n\nStarter template for [unplugin](https://github.com/unjs/unplugin).\n\n## Template Usage\n\nTo use this template, clone it down using:\n\n```bash\nnpx degit kirklin/boot-unplugin my-unplugin\n```\n\nAnd do a global replacement of `boot-unplugin` with your plugin name.\n\nThen you can start developing your unplugin 🔥\n\nTo test your plugin, run: `pnpm run dev`\nTo release a new version, run: `pnpm run release`\n\n## Install\n\n```bash\nnpm i boot-unplugin\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eVite\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// vite.config.ts\nimport Starter from \"boot-unplugin/vite\";\n\nexport default defineConfig({\n  plugins: [\n    Starter({ /* options */ }),\n  ],\n});\n```\n\nExample: [`playground/`](./playground/)\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eRollup\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// rollup.config.js\nimport Starter from \"boot-unplugin/rollup\";\n\nexport default {\n  plugins: [\n    Starter({ /* options */ }),\n  ],\n};\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eWebpack\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// webpack.config.js\nmodule.exports = {\n  /* ... */\n  plugins: [\n    require(\"boot-unplugin/webpack\")({ /* options */ })\n  ]\n};\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eNuxt\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// nuxt.config.js\nexport default defineNuxtConfig({\n  modules: [\n    [\"boot-unplugin/nuxt\", { /* options */ }],\n  ],\n});\n```\n\n\u003e This module works for both Nuxt 2 and [Nuxt Vite](https://github.com/nuxt/vite)\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eVue CLI\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// vue.config.js\nmodule.exports = {\n  configureWebpack: {\n    plugins: [\n      require(\"boot-unplugin/webpack\")({ /* options */ }),\n    ],\n  },\n};\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eesbuild\u003c/summary\u003e\u003cbr\u003e\n\n```ts\nimport Starter from \"boot-unplugin/esbuild\";\n// esbuild.config.js\nimport { build } from \"esbuild\";\n\nbuild({\n  plugins: [Starter()],\n});\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n## License\n\n[MIT](./LICENSE) License © 2022 [Kirk Lin](https://github.com/kirklin)\n","funding_links":["https://github.com/sponsors/kirklin","https://patreon.com/kirklin","https://www.buymeacoffee.com/linkirk"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirklin%2Fboot-unplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkirklin%2Fboot-unplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirklin%2Fboot-unplugin/lists"}