{"id":20642329,"url":"https://github.com/komachi/postcss-clip-path-polyfill","last_synced_at":"2025-07-26T20:38:17.542Z","repository":{"id":10154847,"uuid":"64668840","full_name":"komachi/postcss-clip-path-polyfill","owner":"komachi","description":"PostCSS plugin which add SVG hack for clip-path property to make it work in Firefox","archived":false,"fork":false,"pushed_at":"2022-06-24T19:42:12.000Z","size":1109,"stargazers_count":23,"open_issues_count":14,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-11T23:48:15.625Z","etag":null,"topics":["postcss-plugins"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/komachi.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}},"created_at":"2016-08-01T13:22:59.000Z","updated_at":"2023-03-17T14:37:55.000Z","dependencies_parsed_at":"2022-07-29T08:38:54.745Z","dependency_job_id":null,"html_url":"https://github.com/komachi/postcss-clip-path-polyfill","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/komachi/postcss-clip-path-polyfill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komachi%2Fpostcss-clip-path-polyfill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komachi%2Fpostcss-clip-path-polyfill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komachi%2Fpostcss-clip-path-polyfill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komachi%2Fpostcss-clip-path-polyfill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/komachi","download_url":"https://codeload.github.com/komachi/postcss-clip-path-polyfill/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komachi%2Fpostcss-clip-path-polyfill/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265646534,"owners_count":23804292,"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":["postcss-plugins"],"created_at":"2024-11-16T16:08:47.666Z","updated_at":"2025-07-26T20:38:17.523Z","avatar_url":"https://github.com/komachi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-clip-path-polyfill\n\n\u003ePostCSS plugin which add SVG hack for clip-path property to make it work in Firefox. Currently supports only `polygon()`.\n\n\n```css\n/* Input */\n.test1 {\n  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);\n}\n```\n\n```css\n/* Output */\n.test1 {\n  clip-path: url('data:image/svg+xml;utf8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\"%3E%3Cdefs%3E%3CclipPath id=\"p\" clipPathUnits=\"objectBoundingBox\"%3E%3Cpolygon points=\"0.5 0, 0 1, 1 1\" /%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E#p');\n  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);\n}\n```\n\n It doesn't add vendor prefixes so you should use it with [autoprefixer](https://github.com/postcss/autoprefixer).\n\n## Installation\n\n```\nnpm i postcss postcss-clip-path-polyfill --save-dev\n```\n\n## Usage\n\nCheck out [PostCSS documentation](https://github.com/postcss/postcss#usage) on how to use PostCSS plugins.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkomachi%2Fpostcss-clip-path-polyfill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkomachi%2Fpostcss-clip-path-polyfill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkomachi%2Fpostcss-clip-path-polyfill/lists"}