Gathering detailed insights and metrics for postcss-merge-rules2
Gathering detailed insights and metrics for postcss-merge-rules2
npm install postcss-merge-rules2
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
1,577
Last Day
1
Last Week
2
Last Month
10
Last Year
91
MIT License
111 Commits
1 Forks
1 Branches
1 Contributors
Updated on Mar 27, 2021
Minified
Minified + Gzipped
Latest Version
0.0.4
Package Id
postcss-merge-rules2@0.0.4
Unpacked Size
23.76 kB
Size
7.48 kB
File Count
7
NPM Version
6.13.4
Node Version
8.17.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
0%
2
Compared to previous week
Last Month
-65.5%
10
Compared to previous month
Last Year
-9%
91
Compared to previous year
Merge CSS rules with PostCSS ihherited from postcss-merge-rules which already deprecated. Only different is postcss-merge-rules2 will merge the css even if 2 css is not nearby. This action may bring some risk which mentioned in postcss-merge-rule issue discussion, but most of time is safed to use it and we still have requirement to use this feature becuase we know what we are doing.
With npm do:
npm install postcss-merge-rules2 --save
1a { 2 color: blue; 3 font-weight: bold 4} 5b { 6 color: red 7} 8p { 9 color: blue; 10 font-weight: bold 11}
postcss-merge-rules: output same as input
1postcss-merge-rules2: 2a,p { 3 color: blue; 4 font-weight: bold 5} 6b { 7 color: red 8}
This module will attempt to merge adjacent CSS rules:
1a { 2 color: blue; 3 font-weight: bold 4} 5 6p { 7 color: blue; 8 font-weight: bold 9}
1a,p { 2 color: blue; 3 font-weight: bold 4}
1a { 2 color: blue 3} 4 5a { 6 font-weight: bold 7}
1a { 2 color: blue; 3 font-weight: bold 4}
1a { 2 font-weight: bold 3} 4 5p { 6 color: blue; 7 font-weight: bold 8}
1a,p { 2 font-weight: bold 3} 4 5p { 6 color: blue 7}
See the PostCSS documentation for examples for your environment.
Pull requests are welcome. If you add functionality, then please add unit tests to cover it.
MIT © Ben Briggs
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
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
Found 0/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
Score
Last Scanned on 2025-03-03
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