{"id":13474651,"url":"https://github.com/jaredly/stylecleanup","last_synced_at":"2025-10-09T20:15:54.815Z","repository":{"id":40473798,"uuid":"87582603","full_name":"jaredly/stylecleanup","owner":"jaredly","description":"Find \u0026 fix unused styles in react native and aphrodite","archived":false,"fork":false,"pushed_at":"2020-02-10T15:11:36.000Z","size":1461,"stargazers_count":112,"open_issues_count":5,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T06:51:17.196Z","etag":null,"topics":[],"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/jaredly.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":"2017-04-07T20:02:21.000Z","updated_at":"2024-11-04T13:27:57.000Z","dependencies_parsed_at":"2022-08-30T00:40:45.452Z","dependency_job_id":null,"html_url":"https://github.com/jaredly/stylecleanup","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredly%2Fstylecleanup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredly%2Fstylecleanup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredly%2Fstylecleanup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredly%2Fstylecleanup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaredly","download_url":"https://codeload.github.com/jaredly/stylecleanup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234570326,"owners_count":18854153,"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-07-31T16:01:13.822Z","updated_at":"2025-09-28T23:31:04.699Z","avatar_url":"https://github.com/jaredly.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Style Cleanup\n\nWouldn't it be nice if you could automatically find \u0026 remove unused React\nNative and Aphrodite style declarations?\n\n`stylecleanup` is here to help!\n\n```bash\n$ yarn global add stylecleanup\n# or\n$ npm install -g stylecleanup\n```\n\n![screen capture demo](docs/screencap.gif)\n\n## Usage\n\n```\nUsage: stylecleanup [command] some/file/to/check.js\n  command: one of 'check', 'fix', 'fix-force'\n  globs are also supported, e.g.\n\n  stylecleanup check './src/**/*.js'\n\n  check: find \u0026 report missing \u0026 unused styles\n  fix: remove all unused styles, but skip styles that *might* be used, but\n    can't be verified because e.g. the stylesheet variable is passed around,\n    or there's a computed property access. If you do 'styles[something]' it\n    might be accessing anything, so we can't know for sure that apparently\n    unused styles are actually unused.\n  fix-force: remove all unnused styles, and all 'potentially' unused styles\n```\n\n## Contributing\n\nDoes this sound interesting to you? Do you want it to do something it doesn't?\nPlease jump in! I don't have a ton of opinions about this project, so if\nthere's a change you think should happen, I'm probably down for it. Just file\nan issue or make a pull request!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredly%2Fstylecleanup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaredly%2Fstylecleanup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredly%2Fstylecleanup/lists"}