{"id":14156026,"url":"https://github.com/unplugin/unplugin-starter","last_synced_at":"2025-04-04T10:02:18.967Z","repository":{"id":40003969,"uuid":"399405460","full_name":"unplugin/unplugin-starter","owner":"unplugin","description":"Starter template for unplugin","archived":false,"fork":false,"pushed_at":"2025-02-11T08:07:46.000Z","size":466,"stargazers_count":157,"open_issues_count":1,"forks_count":44,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-26T18:54:41.195Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/unplugin.png","metadata":{"funding":{"github":["antfu"]},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2021-08-24T09:20:21.000Z","updated_at":"2025-03-25T14:05:54.000Z","dependencies_parsed_at":"2023-09-23T00:06:46.978Z","dependency_job_id":"98358cdd-3d0e-4f2d-935f-177ce7787eec","html_url":"https://github.com/unplugin/unplugin-starter","commit_stats":{"total_commits":41,"total_committers":15,"mean_commits":"2.7333333333333334","dds":0.4878048780487805,"last_synced_commit":"100d33fd5d1e298f9d05bfbfadea0f349e02214c"},"previous_names":["unplugin/unplugin-starter","antfu/unplugin-starter"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugin%2Funplugin-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugin%2Funplugin-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugin%2Funplugin-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugin%2Funplugin-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unplugin","download_url":"https://codeload.github.com/unplugin/unplugin-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246531968,"owners_count":20792736,"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":[],"created_at":"2024-08-17T08:05:09.878Z","updated_at":"2025-04-04T10:02:18.926Z","avatar_url":"https://github.com/unplugin.png","language":"TypeScript","readme":"# unplugin-starter\n\n[![NPM version](https://img.shields.io/npm/v/unplugin-starter?color=a1b858\u0026label=)](https://www.npmjs.com/package/unplugin-starter)\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 unplugin/unplugin-starter my-unplugin\n```\n\nAnd do a global replacement of `unplugin-starter` 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 unplugin-starter\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eVite\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// vite.config.ts\nimport Starter from 'unplugin-starter/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 'unplugin-starter/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('unplugin-starter/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    ['unplugin-starter/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('unplugin-starter/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\n// esbuild.config.js\nimport { build } from 'esbuild'\nimport Starter from 'unplugin-starter/esbuild'\n\nbuild({\n  plugins: [Starter()],\n})\n```\n\n\u003cbr\u003e\u003c/details\u003e\n","funding_links":["https://github.com/sponsors/antfu"],"categories":["TypeScript","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funplugin%2Funplugin-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funplugin%2Funplugin-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funplugin%2Funplugin-starter/lists"}