Gathering detailed insights and metrics for postcss-initial
Gathering detailed insights and metrics for postcss-initial
Gathering detailed insights and metrics for postcss-initial
Gathering detailed insights and metrics for postcss-initial
@csstools/postcss-initial
PostCSS plugin to fallback initial keyword.
postcss-reduce-initial
Reduce initial definitions to the actual initial value, where possible.
@csstools/postcss-progressive-custom-properties
Correctly declare progressive enhancements for CSS Custom Properties.
cssnano-preset-default
Safe defaults for cssnano which require minimal configuration.
PostCSS plugin to fallback initial keyword
npm install postcss-initial
96.5
Supply Chain
98.6
Quality
75.8
Maintenance
50
Vulnerability
100
License
Module System
Unable to determine the module system for this package.
Min. Node Version
Typescript Support
Node Version
NPM Version
187 Stars
149 Commits
10 Forks
5 Watching
5 Branches
10 Contributors
Updated on 11 Aug 2024
Minified
Minified + Gzipped
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-5.7%
915,967
Compared to previous day
Last week
1.7%
4,873,744
Compared to previous week
Last month
6.5%
20,606,161
Compared to previous month
Last year
-23.3%
264,437,379
Compared to previous year
PostCSS plugin to fallback initial
keyword. Very useful in combination with
postcss-autoreset.
1a { 2 animation: initial; 3 background: initial; 4 white-space: initial; 5} 6p { 7 background: url(/img1.png), 8 url(/img2.png); 9 background-repeat: initial no-repeat 10}
1a { 2 animation: none 0s ease 0s 1 normal none running; 3 animation: initial; 4 background: transparent none repeat 0 0 / auto auto padding-box border-box scroll; 5 background: initial; 6 white-space: normal; 7 white-space: initial; 8} 9p { 10 background: url(/img1.png), 11 url(/img2.png); 12 background-repeat: repeat no-repeat 13}
Killer feature!
Universal reset from future css!
1a { 2 all: initial; 3}
1a { 2 animation: none 0s ease 0s 1 normal none running; 3 backface-visibility: visible; 4 background: transparent none repeat 0 0 / auto auto padding-box border-box scroll; 5 border: medium none currentColor; 6 border-collapse: separate; 7 border-image: none; 8 border-radius: 0; 9 border-spacing: 0; 10 bottom: auto; 11 box-shadow: none; 12 box-sizing: content-box; 13 caption-side: top; 14 clear: none; 15 clip: auto; 16 color: #000; 17 columns: auto; 18 column-count: auto; 19 column-fill: balance; 20 column-gap: normal; 21 column-rule: medium none currentColor; 22 column-span: 1; 23 column-width: auto; 24 content: normal; 25 counter-increment: none; 26 counter-reset: none; 27 cursor: auto; 28 direction: ltr; 29 display: inline; 30 empty-cells: show; 31 float: none; 32 font-family: serif; 33 font-size: medium; 34 font-style: normal; 35 font-variant: normal; 36 font-weight: normal; 37 font-stretch: normal; 38 line-height: normal; 39 height: auto; 40 hyphens: none; 41 left: auto; 42 letter-spacing: normal; 43 list-style: disc outside none; 44 margin: 0; 45 max-height: none; 46 max-width: none; 47 min-height: 0; 48 min-width: 0; 49 opacity: 1; 50 orphans: 2; 51 outline: medium none invert; 52 overflow: visible; 53 overflow-x: visible; 54 overflow-y: visible; 55 padding: 0; 56 page-break-after: auto; 57 page-break-before: auto; 58 page-break-inside: auto; 59 perspective: none; 60 perspective-origin: 50% 50%; 61 position: static; 62 right: auto; 63 tab-size: 8; 64 table-layout: auto; 65 text-align: left; 66 text-align-last: auto; 67 text-decoration: none; 68 text-indent: 0; 69 text-shadow: none; 70 text-transform: none; 71 top: auto; 72 transform: none; 73 transform-origin: 50% 50% 0; 74 transform-style: flat; 75 transition: none 0s ease 0s; 76 unicode-bidi: normal; 77 vertical-align: baseline; 78 visibility: visible; 79 white-space: normal; 80 widows: 2; 81 width: auto; 82 word-spacing: normal; 83 z-index: auto; 84 all: initial; 85}
Takes string
.
Describes what subset of rules should be unsetted with all
property (to reduce code weight).
Possible subsets: all
, inherited
.
Default value: 'all'
.
Takes boolean
.
Replace the initial
with the fallback instead of adding it.
Default value: false
.
1postcss([ require('postcss-initial')({ 2 reset: 'inherited' // reset only inherited rules 3}) ])
See PostCSS docs for examples for your environment.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 2/14 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
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
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
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