{"id":18054249,"url":"https://github.com/yugasun/auto-detect-component","last_synced_at":"2025-04-10T22:53:50.270Z","repository":{"id":57187241,"uuid":"165817552","full_name":"yugasun/auto-detect-component","owner":"yugasun","description":"Creating UI components plugin for your project automatically","archived":false,"fork":false,"pushed_at":"2019-03-10T10:16:12.000Z","size":83,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T22:53:45.061Z","etag":null,"topics":["automation","component-injection"],"latest_commit_sha":null,"homepage":"","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/yugasun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-15T08:55:00.000Z","updated_at":"2021-03-31T19:11:45.000Z","dependencies_parsed_at":"2022-08-28T13:01:23.079Z","dependency_job_id":null,"html_url":"https://github.com/yugasun/auto-detect-component","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yugasun%2Fauto-detect-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yugasun%2Fauto-detect-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yugasun%2Fauto-detect-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yugasun%2Fauto-detect-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yugasun","download_url":"https://codeload.github.com/yugasun/auto-detect-component/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312172,"owners_count":21082638,"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":["automation","component-injection"],"created_at":"2024-10-31T00:09:56.711Z","updated_at":"2025-04-10T22:53:50.250Z","avatar_url":"https://github.com/yugasun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# auto-detect-component\n\n\u003ca href=\"https://www.npmjs.com/package/auto-detect-component\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/auto-detect-component.svg\" alt=\"Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/auto-detect-component\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/auto-detect-component.svg\" alt=\"Version\"\u003e\u003c/a\u003e\n\nDetect UI components used in your project automatically.\n\n## Usage\n\n```shell\n# install\nnpm install auto-detect-component -g\n\n# get command help\nadc --help\n\n# run command\n# demo is the project directory you need to detect\nadc -d demo -u 'element-ui' -o plugin\n```\n\nThen use the created plugin file as [Vue plugin](https://vuejs.org/v2/guide/plugins.html):\n\n```js\nimport Vue from 'vue';\nimport UIPlugin from './plugin/ui-plugin';\n\nVue.use(UIPlugin);\n```\n\n## TODO\n\n[ ] Unit test.\n\n## Support UI Toolkit\n\nIt supports two UI toolkit for Vue:\n\n* [element-ui](https://github.com/ElemeFE/element)\n* [ant-design-vue](https://github.com/vueComponent/ant-design-vue)\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyugasun%2Fauto-detect-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyugasun%2Fauto-detect-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyugasun%2Fauto-detect-component/lists"}