Gathering detailed insights and metrics for postcss-clip-path-polyfill
Gathering detailed insights and metrics for postcss-clip-path-polyfill
Gathering detailed insights and metrics for postcss-clip-path-polyfill
Gathering detailed insights and metrics for postcss-clip-path-polyfill
PostCSS plugin which add SVG hack for clip-path property to make it work in Firefox
npm install postcss-clip-path-polyfill
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
23 Stars
7 Commits
1 Forks
1 Watchers
13 Branches
1 Contributors
Updated on Mar 17, 2023
Latest Version
1.1.0
Package Id
postcss-clip-path-polyfill@1.1.0
Unpacked Size
3.40 kB
Size
1.52 kB
File Count
4
NPM Version
6.14.6
Node Version
12.18.3
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
PostCSS plugin which add SVG hack for clip-path property to make it work in Firefox. Currently supports only
polygon()
.
1/* Input */ 2.test1 { 3 clip-path: polygon(50% 0%, 0% 100%, 100% 100%); 4}
1/* Output */ 2.test1 { 3 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'); 4 clip-path: polygon(50% 0%, 0% 100%, 100% 100%); 5}
It doesn't add vendor prefixes so you should use it with autoprefixer.
npm i postcss-clip-path-polyfill --save-dev
Check out PostCSS documentation on how to use PostCSS plugins.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/7 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
36 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More