Gathering detailed insights and metrics for postcss-reduce-initial
Gathering detailed insights and metrics for postcss-reduce-initial
Gathering detailed insights and metrics for postcss-reduce-initial
Gathering detailed insights and metrics for postcss-reduce-initial
A modular minifier, built on top of the PostCSS ecosystem.
npm install postcss-reduce-initial
Typescript
Module System
Min. Node Version
Node Version
NPM Version
94.9
Supply Chain
97.7
Quality
90.1
Maintenance
100
Vulnerability
99.3
License
CSS (77.36%)
JavaScript (22.18%)
Nunjucks (0.46%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
4,879 Stars
2,567 Commits
322 Forks
48 Watchers
44 Branches
111 Contributors
Updated on Jul 14, 2025
Latest Version
7.0.4
Package Id
postcss-reduce-initial@7.0.4
Unpacked Size
18.26 kB
Size
5.78 kB
File Count
11
NPM Version
10.9.2
Node Version
22.17.0
Published on
Jul 14, 2025
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
2
1
3
Reduce
initial
definitions to the actual initial value, where possible.
With npm do:
npm install postcss-reduce-initial --save
See the data for more conversions. This data is courtesy of Mozilla.
initial
valuesWhen the initial
keyword is longer than the property value, it will
be converted:
1h1 { 2 min-width: initial; 3}
1h1 { 2 min-width: auto; 3}
initial
When the initial
value is smaller than the property value, it will
be converted:
1h1 { 2 transform-box: border-box; 3}
1h1 { 2 transform-box: initial; 3}
This conversion is only applied when you supply a browsers list that all support
the initial
keyword; it's worth noting that Internet Explorer has no support.
Type: Array<String>
Default: undefined
It contains the Array of properties that will be ignored while reducing its value to initial.
Example : { ignore : ["min-height"] }
See the PostCSS documentation for examples for your environment.
See CONTRIBUTORS.md.
This program uses a list of CSS properties derived from data maintained my the MDN team at Mozilla and licensed under the CC0 1.0 Universal Public Domain Dedication.
MIT © Ben Briggs
No vulnerabilities found.
Reason
13 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 8
Details
Reason
3 existing vulnerabilities detected
Details
Reason
Found 6/23 approved changesets -- score normalized to 2
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
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