{"id":15391519,"url":"https://github.com/skovy/css-codemod-demo","last_synced_at":"2026-05-02T23:40:46.335Z","repository":{"id":91751313,"uuid":"450952244","full_name":"skovy/css-codemod-demo","owner":"skovy","description":"Example of a custom CSS codemod built with PostCSS","archived":false,"fork":false,"pushed_at":"2022-01-25T16:49:49.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T01:26:43.565Z","etag":null,"topics":["codemod","css","postcss"],"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/skovy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2022-01-22T22:38:35.000Z","updated_at":"2024-06-29T23:40:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"3cf5adee-9640-4880-9d92-958f5626e43e","html_url":"https://github.com/skovy/css-codemod-demo","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"f782c78798e0d6e07d0edea1698fce7e6e357c6a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skovy%2Fcss-codemod-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skovy%2Fcss-codemod-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skovy%2Fcss-codemod-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skovy%2Fcss-codemod-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skovy","download_url":"https://codeload.github.com/skovy/css-codemod-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245938649,"owners_count":20697071,"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":["codemod","css","postcss"],"created_at":"2024-10-01T15:11:34.710Z","updated_at":"2025-10-05T11:50:20.243Z","avatar_url":"https://github.com/skovy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# css-codemod-demo\n\nAn example CSS codemod built with [PostCSS](https://postcss.org) and a few other packages.\n\nRead the full blog post and tutorial for **[creating CSS codemods with PostCSS](https://www.skovy.dev/blog/css-codemods-with-postcss)**.\n\n## Setup\n\n1. Clone the repository and change into the directory\n1. Install dependencies: `yarn install`\n1. Run the transform: `yarn transform`\n1. The CSS files in `src` (`a.css` and `b.css`) should have their `color` properties set to `red` (the transform)\n\n## Extending\n\nThis demo can be extended to solve a wide variety of CSS codemod needs. The PostCSS plugin can be updated to make any desired transform to the underlying CSS nodes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskovy%2Fcss-codemod-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskovy%2Fcss-codemod-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskovy%2Fcss-codemod-demo/lists"}