Gathering detailed insights and metrics for @csstools/postcss-unset-value
Gathering detailed insights and metrics for @csstools/postcss-unset-value
Gathering detailed insights and metrics for @csstools/postcss-unset-value
Gathering detailed insights and metrics for @csstools/postcss-unset-value
npm install @csstools/postcss-unset-value
Typescript
Module System
Min. Node Version
Node Version
NPM Version
98.7
Supply Chain
100
Quality
80.2
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
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT-0 License
984 Stars
4,380 Commits
77 Forks
9 Watchers
6 Branches
132 Contributors
Updated on Jul 12, 2025
Latest Version
4.0.0
Package Id
@csstools/postcss-unset-value@4.0.0
Unpacked Size
19.65 kB
Size
4.82 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
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
1
PostCSS Unset Value lets you use the unset keyword, following the CSS Cascading and Inheritance specification.
1.color { 2 color: unset; 3} 4 5.border-color { 6 border-color: unset; 7} 8 9.margin { 10 margin: unset; 11} 12 13 14/* becomes */ 15.color { 16 color: inherit; 17} 18 19.border-color { 20 border-color: initial; 21} 22 23.margin { 24 margin: initial; 25}
Add PostCSS Unset Value to your project:
1npm install postcss @csstools/postcss-unset-value --save-dev
Use it as a PostCSS plugin:
1const postcss = require('postcss'); 2const postcssUnsetValue = require('@csstools/postcss-unset-value'); 3 4postcss([ 5 postcssUnsetValue(/* pluginOptions */) 6]).process(YOUR_CSS /*, processOptions */);
PostCSS Unset Value runs in all Node environments, with special instructions for:
Node | PostCSS CLI | Webpack | Gulp | Grunt |
---|
The preserve
option determines whether the original source
is preserved. By default, it is not preserved.
1postcssUnsetValue({ preserve: true })
1.color { 2 color: unset; 3} 4 5.border-color { 6 border-color: unset; 7} 8 9.margin { 10 margin: unset; 11} 12 13/* becomes */ 14 15.color { 16 color: inherit; 17 color: unset; 18} 19 20.border-color { 21 border-color: initial; 22 border-color: unset; 23} 24 25.margin { 26 margin: initial; 27 margin: unset; 28}
No vulnerabilities found.
Reason
30 commit(s) and 7 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
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
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
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