Gathering detailed insights and metrics for postcss-gap-polyfill
Gathering detailed insights and metrics for postcss-gap-polyfill
npm install postcss-gap-polyfill
Typescript
Module System
Min. Node Version
Node Version
NPM Version
71.1
Supply Chain
90.5
Quality
74.6
Maintenance
50
Vulnerability
100
License
CSS (54.14%)
JavaScript (45.86%)
Total Downloads
1,565
Last Day
4
Last Week
27
Last Month
147
Last Year
1,069
149 Stars
370 Commits
6 Forks
1 Watching
32 Branches
6 Contributors
Minified
Minified + Gzipped
Latest Version
3.0.2
Package Id
postcss-gap-polyfill@3.0.2
Unpacked Size
21.68 kB
Size
6.18 kB
File Count
6
NPM Version
6.13.6
Node Version
13.8.0
Cumulative downloads
Total Downloads
Last day
-73.3%
4
Compared to previous day
Last week
-48.1%
27
Compared to previous week
Last month
-2.6%
147
Compared to previous month
Last year
1,062%
1,069
Compared to previous year
A polyfill for adding gap between flex items, following the CSS Gap specification.
🙋 Looking for people to help test.
Example:
1.container { 2 display: flex; 3 gap: 40px; 4} 5
Output:
1/* Output simplified for example */ 2 3.container > * { 4 --gutters_parent: 40px !important; 5 --gutters_item: 40px !important; 6 --gutters: var(--gutters_item) !important; 7 margin-top: var(--gutters); 8 margin-left: var(--gutters); 9} 10 11.container { 12 --gutters_container: calc(var(--gutters_parent, 0px) - 40px) !important; 13 --gutters: var(--gutters_container); 14 margin-top: var(--gutters); 15 margin-left: var(--gutters); 16}
You can view several examples of it in action.
It works by adding margins to each child element and recalculating their widths and applying a negative margin to the container.
1npm install postcss-gutters --save-dev
Supports all current modern browsers, Edge, Firefox, Chrome, Safari, Opera.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
84 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-01-27
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