{"id":30196290,"url":"https://github.com/igorskyflyer/npm-astro-component","last_synced_at":"2026-04-16T19:40:17.818Z","repository":{"id":309067167,"uuid":"1033926489","full_name":"igorskyflyer/npm-astro-component","owner":"igorskyflyer","description":"🚀 A CLI tool for bootstrapping Astro components with test-ready scaffolding, render logic, props, slots, and Vitest setup included.  🧪","archived":false,"fork":false,"pushed_at":"2025-08-09T15:52:26.000Z","size":76,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-09T17:35:25.808Z","etag":null,"topics":["astro","back-end","component","framework","html","igorskyflyer","npm","ssg","test","vitest"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@igor.dvlpr/astro-component","language":"JavaScript","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/igorskyflyer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"ko_fi":"igorskyflyer"}},"created_at":"2025-08-07T15:03:16.000Z","updated_at":"2025-08-09T15:52:29.000Z","dependencies_parsed_at":"2025-08-09T17:35:27.975Z","dependency_job_id":"05bbe64f-b05c-4b04-ae4a-5f9ab2314622","html_url":"https://github.com/igorskyflyer/npm-astro-component","commit_stats":null,"previous_names":["igorskyflyer/npm-astro-component"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/igorskyflyer/npm-astro-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorskyflyer%2Fnpm-astro-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorskyflyer%2Fnpm-astro-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorskyflyer%2Fnpm-astro-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorskyflyer%2Fnpm-astro-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igorskyflyer","download_url":"https://codeload.github.com/igorskyflyer/npm-astro-component/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorskyflyer%2Fnpm-astro-component/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270183606,"owners_count":24541341,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["astro","back-end","component","framework","html","igorskyflyer","npm","ssg","test","vitest"],"created_at":"2025-08-13T05:17:38.914Z","updated_at":"2026-04-16T19:40:17.806Z","avatar_url":"https://github.com/igorskyflyer.png","language":"JavaScript","funding_links":["https://ko-fi.com/igorskyflyer"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/igorskyflyer/npm-astro-component/main/assets/astro-component.png\" alt=\"Icon of Astro Component\" width=\"256\" height=\"256\"\u003e\n\u003ch1 align=\"center\"\u003eAstro Component\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e\n  🚀 A CLI tool for bootstrapping Astro components with test-ready scaffolding, render logic, props, slots, and Vitest setup included.  🧪\n\u003c/div\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## 📃 Table of Contents\n\n- [Features](#-features)\n- [Usage](#-usage)\n- [Changelog](#-changelog)\n- [Support](#-support)\n- [License](#-license)\n- [Related](#-related)\n- [Author](#-author)\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## 🤖 Features\n\n- ⚡ Instantly scaffolds Astro `.astro` components with prop typing\n- 🧪 Generates Vitest-compatible test files with a DOM setup\n- 🧩 Supports automatic folder structuring and consistent naming conventions\n- 🛠️ Optional flags for dry-run, overwrite protection, and verbose output\n- 🌌 Light-weight and zero-config - just run and go\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## 🕵🏼 Usage\n\nBootstrap Astro components into a target directory with zero config:\n\n```bash\nnpx \"@igor.dvlpr/astro-component\" \u003cdest\u003e\n```\n\nThis will scaffold a test-ready Astro component suite into `\u003cdest\u003e`, complete with:\n\n- 🚀 Component and entrypoint code\n- 🧪 Vitest setup\n- 🧩 DOM environment\n- ⚙️ Render logic\n- 📦 Props and slots\n- 🧼 Clean file structure\n\n\u003cbr\u003e\n\u003cbr\u003e\n\nTo preview the generated files without writing anything, use the --dry flag:\n\n```bash\nnpx \"@igor.dvlpr/astro-component\" \u003cdest\u003e --dry\n```\n\nYou'll get a full log of what would be created, ideal for safe inspection before committing.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## 📝 Changelog\n\n📑 The changelog is available here: [CHANGELOG.md](https://github.com/igorskyflyer/npm-astro-component/blob/main/CHANGELOG.md).\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## 🪪 License\n\nLicensed under the [GPLv3 license](https://github.com/igorskyflyer/npm-astro-component/blob/main/LICENSE).\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## 💖 Support\n\n\u003cdiv align=\"center\"\u003e\n  I work hard for every project, including this one and your support means a lot to me!\n  \u003cbr\u003e\n  Consider buying me a coffee. ☕\n  \u003cbr\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://ko-fi.com/igorskyflyer\" target=\"_blank\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/igorskyflyer/igorskyflyer/main/assets/ko-fi.png\" alt=\"Donate to igorskyflyer\" width=\"180\" height=\"46\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n  \u003cem\u003eThank you for supporting my efforts!\u003c/em\u003e 🙏😊\n\u003c/div\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## 🧬 Related\n\n[@igor.dvlpr/windev](https://www.npmjs.com/package/@igor.dvlpr/windev)\n\n\u003e _🍃 Provides ways of checking whether a path is a legacy Windows device. 💾_\n\n\u003cbr\u003e\n\n[@igor.dvlpr/astro-post-excerpt](https://www.npmjs.com/package/@igor.dvlpr/astro-post-excerpt)\n\n\u003e _⭐ An Astro component that renders post excerpts for your Astro blog - directly from your Markdown and MDX files. Astro v2+ collections are supported as well! 💎_\n\n\u003cbr\u003e\n\n[@igor.dvlpr/astro-escaped-component](https://www.npmjs.com/package/@igor.dvlpr/astro-escaped-component)\n\n\u003e _🏃🏻‍♂️‍➡️ An Astro component that holds only HTML-encoded content. 📜_\n\n\u003cbr\u003e\n\n[@igor.dvlpr/pathexists](https://www.npmjs.com/package/@igor.dvlpr/pathexists)\n\n\u003e _🧲 Provides ways of properly checking if a path exists inside a given array of files/directories both on Windows and UNIX-like operating systems. 🗺_\n\n\u003cbr\u003e\n\n[@igor.dvlpr/astro-easynav-button](https://www.npmjs.com/package/@igor.dvlpr/astro-easynav-button)\n\n\u003e _🧭 Add an easy-to-use navigational button (jump to top/bottom) to your Astro site. 🔼_\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n## 👨🏻‍💻 Author\n\nCreated by **Igor Dimitrijević** ([_@igorskyflyer_](https://github.com/igorskyflyer/)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorskyflyer%2Fnpm-astro-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figorskyflyer%2Fnpm-astro-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorskyflyer%2Fnpm-astro-component/lists"}