{"id":22341346,"url":"https://github.com/Alexandre-Chapelle/SCSS-Refactor-Toolkit","last_synced_at":"2025-07-30T01:31:53.058Z","repository":{"id":266370458,"uuid":"898167905","full_name":"Alexandre-Chapelle/SCSS-Empty-Selectors-Cleaner","owner":"Alexandre-Chapelle","description":"Cleaning your SCSS code has never been easier","archived":false,"fork":false,"pushed_at":"2024-12-03T23:42:23.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-04T00:18:36.787Z","etag":null,"topics":["bun","css","js","sass","scss"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Alexandre-Chapelle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"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-12-03T22:58:52.000Z","updated_at":"2024-12-03T23:42:27.000Z","dependencies_parsed_at":"2024-12-04T00:18:39.548Z","dependency_job_id":"7df26b6a-c5bb-405b-b38f-84e5e9cddb9a","html_url":"https://github.com/Alexandre-Chapelle/SCSS-Empty-Selectors-Cleaner","commit_stats":null,"previous_names":["alexandre-chapelle/scss-empty-selectors-cleaner"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexandre-Chapelle%2FSCSS-Empty-Selectors-Cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexandre-Chapelle%2FSCSS-Empty-Selectors-Cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexandre-Chapelle%2FSCSS-Empty-Selectors-Cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexandre-Chapelle%2FSCSS-Empty-Selectors-Cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alexandre-Chapelle","download_url":"https://codeload.github.com/Alexandre-Chapelle/SCSS-Empty-Selectors-Cleaner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228070786,"owners_count":17864664,"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":["bun","css","js","sass","scss"],"created_at":"2024-12-04T08:06:31.940Z","updated_at":"2025-07-30T01:31:53.050Z","avatar_url":"https://github.com/Alexandre-Chapelle.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SCSS-Refactor-Toolkit\n\n## Feature: scss-clean-unused-selectors\n  ### Before Usage:\n  \n  ```scss\n  \n  // file.scss\n  .selector {\n    .selector2 {\n      .selector3 {\n      }\n    }\n  }\n  \n  .other_selector {\n    color: red;\n  }\n  ```\n  \n  ### After Usage:\n  \n  ```scss\n  // file.scss\n  .other_selector {\n    color: red;\n  }\n  ```\n\n## Feature: scss-refactor-transitions\n### Before Usage:\n  \n  ```scss\n  \n  // file.scss\n  .button {\n    background: #a7ef6f;\n    border-radius: 8px;\n    transition: all 0.15s;\n    cursor: pointer;\n  \n    \u0026:hover {\n      opacity: 0.7;\n      background-color: red;\n    }\n  \n    \u0026:disabled {\n      background: green;\n      cursor: not-allowed;\n      color: white;\n    }\n  }\n  ```\n      \n   ### After Usage:\n      \n  ```scss\n  // file.scss\n  .button {\n    background: #a7ef6f;\n    border-radius: 8px;\n    transition: background-color 0.15s, color 0.15s, opacity 0.15s;\n    cursor: pointer;\n  \n    \u0026:hover {\n      opacity: 0.7;\n      background-color: red;\n    }\n  \n    \u0026:disabled {\n      background: green;\n      cursor: not-allowed;\n      color: white;\n    }\n  }\n  ```\n\n## To Install Dependencies:\n\n```bash\nbun install\n```\n\n## To Run:\n```bash\nbun run index.ts\n```\n\n## FAQ:\n\n**Q:** Does it work with nested folders?  \n**A:** Yes, it does.\n\n**Q:** Does it work with nested selectors?  \n**A:** Yes, it does.\n\n**Q:** Can I use it without having to install dependencies?  \n**A:** Yes, please view the releases section.\n\n**Q:** Does it create backups just in case?  \n**A:** Yes, it does. After running the executable or via `npm run start`, you will be prompted:  \n`Do you want to create backups for each modified file? (Y/n)`\n\n## Contributing\nPlease see the \u003ca href=\"https://github.com/Alexandre-Chapelle/SCSS-Empty-Selectors-Cleaner/blob/main/CONTRIBUTING.md\"\u003eContributing\u003c/a\u003e guideline.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlexandre-Chapelle%2FSCSS-Refactor-Toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlexandre-Chapelle%2FSCSS-Refactor-Toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlexandre-Chapelle%2FSCSS-Refactor-Toolkit/lists"}