Gathering detailed insights and metrics for postcss-gap-properties
Gathering detailed insights and metrics for postcss-gap-properties
Gathering detailed insights and metrics for postcss-gap-properties
Gathering detailed insights and metrics for postcss-gap-properties
npm install postcss-gap-properties
Typescript
Module System
Min. Node Version
Node Version
NPM Version
98.4
Supply Chain
96.5
Quality
80.4
Maintenance
100
Vulnerability
100
License
CSS (43.25%)
JavaScript (30.24%)
TypeScript (22.9%)
HTML (3.03%)
Nunjucks (0.48%)
Shell (0.1%)
Total Downloads
1,509,998,615
Last Day
330,744
Last Week
5,891,714
Last Month
25,109,117
Last Year
287,861,922
MIT-0 License
981 Stars
4,379 Commits
78 Forks
9 Watchers
6 Branches
132 Contributors
Updated on Jun 30, 2025
Minified
Minified + Gzipped
Latest Version
6.0.0
Package Id
postcss-gap-properties@6.0.0
Unpacked Size
5.85 kB
Size
2.54 kB
File Count
7
NPM Version
10.7.0
Node Version
22.1.0
Published on
Aug 03, 2024
Cumulative downloads
Total Downloads
Last Day
-13.6%
330,744
Compared to previous day
Last Week
-9.3%
5,891,714
Compared to previous week
Last Month
3.5%
25,109,117
Compared to previous month
Last Year
-8.1%
287,861,922
Compared to previous year
1
npm install postcss-gap-properties --save-dev
PostCSS Gap Properties lets you use the gap
, column-gap
, and row-gap
shorthand properties in CSS, following the CSS Grid Layout specification.
1.standard-grid { 2 display: grid; 3 gap: 20px; 4} 5 6.spaced-grid { 7 display: grid; 8 column-gap: 40px; 9 row-gap: 20px; 10} 11 12/* becomes */ 13 14.standard-grid { 15 display: grid; 16 grid-gap: 20px; 17 gap: 20px; 18} 19 20.spaced-grid { 21 display: grid; 22 grid-column-gap: 40px; 23 column-gap: 40px; 24 grid-row-gap: 20px; 25 row-gap: 20px; 26}
Add PostCSS Gap Properties to your project:
1npm install postcss postcss-gap-properties --save-dev
Use it as a PostCSS plugin:
1const postcss = require('postcss'); 2const postcssGapProperties = require('postcss-gap-properties'); 3 4postcss([ 5 postcssGapProperties(/* pluginOptions */) 6]).process(YOUR_CSS /*, processOptions */);
The preserve
option determines whether the original notation
is preserved. By default, it is preserved.
1postcssGapProperties({ preserve: false })
1.standard-grid { 2 display: grid; 3 gap: 20px; 4} 5 6.spaced-grid { 7 display: grid; 8 column-gap: 40px; 9 row-gap: 20px; 10} 11 12/* becomes */ 13 14.standard-grid { 15 display: grid; 16 grid-gap: 20px; 17} 18 19.spaced-grid { 20 display: grid; 21 grid-column-gap: 40px; 22 grid-row-gap: 20px; 23}
No vulnerabilities found.
Reason
30 commit(s) and 8 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
1 existing vulnerabilities detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
Found 1/24 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-06-23
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