{"id":15024618,"url":"https://github.com/bernardogiordano/ngx-stylesweep","last_synced_at":"2025-04-12T06:31:29.075Z","repository":{"id":247245150,"uuid":"825355559","full_name":"BernardoGiordano/ngx-stylesweep","owner":"BernardoGiordano","description":"A CLI tool that removes empty style files from your Angular components.","archived":false,"fork":false,"pushed_at":"2024-07-14T06:08:20.000Z","size":111,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T06:03:45.765Z","etag":null,"topics":["angular","angular18","angular2","cleanup","empty","styles","stylesheets"],"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/BernardoGiordano.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-07T14:59:02.000Z","updated_at":"2025-04-04T08:18:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf310821-ef95-4d67-9765-f197b3c5219e","html_url":"https://github.com/BernardoGiordano/ngx-stylesweep","commit_stats":null,"previous_names":["bernardogiordano/ngx-stylesweep"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BernardoGiordano%2Fngx-stylesweep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BernardoGiordano%2Fngx-stylesweep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BernardoGiordano%2Fngx-stylesweep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BernardoGiordano%2Fngx-stylesweep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BernardoGiordano","download_url":"https://codeload.github.com/BernardoGiordano/ngx-stylesweep/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248529548,"owners_count":21119531,"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":["angular","angular18","angular2","cleanup","empty","styles","stylesheets"],"created_at":"2024-09-24T20:00:39.294Z","updated_at":"2025-04-12T06:31:24.047Z","avatar_url":"https://github.com/BernardoGiordano.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ngx-stylesweep\n\n`ngx-stylesweep` is a command-line tool that removes empty style files from your Angular components.\n\n## Support\n\nThis tool traverses your Angular project's source directory, identifies Angular components with style files, and deletes\nany style files that are\nempty. It also updates the respective component files to remove references to the deleted style files.\n\nThis tool comes with support for Angular `@Component`'s `styleUrl` and `styleUrls` attribute. \nSupport for other style attributes, if available, will come soon.\n\n## Installation\n\nInstall `ngx-stylesweep` globally using npm:\n\n```bash\nnpm install -g @bernardogiordano/ngx-stylesweep\n```\n\n## Usage\n\nTo use `ngx-stylesweep`, run the following command in your project's root directory:\n\n```bash\nngx-stylesweep -p /path/to/your/angular/project\n\nOptions:\n  -V, --version      output the version number\n  -p, --path \u003cpath\u003e  Path to the root source directory (default: \".\")\n  -d, --dry-run      Dry run (no changes will be made) (default: false)\n  -y, --yes          Automatically apply changes (default: false)\n  -v, --verbose      Verbose output (default: false)\n  -h, --help         display help for command\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\n`ngx-stylesweep` is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbernardogiordano%2Fngx-stylesweep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbernardogiordano%2Fngx-stylesweep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbernardogiordano%2Fngx-stylesweep/lists"}