Gathering detailed insights and metrics for @csstools/postcss-normalize-display-values
Gathering detailed insights and metrics for @csstools/postcss-normalize-display-values
PostCSS Tools and Plugins
npm install @csstools/postcss-normalize-display-values
Typescript
Module System
Min. Node Version
Node Version
NPM Version
98.5
Supply Chain
90.7
Quality
80.2
Maintenance
100
Vulnerability
100
License
CSS (43.37%)
JavaScript (30.22%)
TypeScript (22.76%)
HTML (3.06%)
Nunjucks (0.48%)
Shell (0.1%)
Total Downloads
490,245,943
Last Day
746,670
Last Week
3,484,146
Last Month
15,680,426
Last Year
194,181,884
931 Stars
4,164 Commits
73 Forks
11 Watching
3 Branches
131 Contributors
Minified
Minified + Gzipped
Latest Version
4.0.0
Package Id
@csstools/postcss-normalize-display-values@4.0.0
Unpacked Size
8.08 kB
Size
3.16 kB
File Count
7
NPM Version
10.7.0
Node Version
22.1.0
Publised On
03 Aug 2024
Cumulative downloads
Total Downloads
Last day
-6.9%
746,670
Compared to previous day
Last week
-16.8%
3,484,146
Compared to previous week
Last month
8.1%
15,680,426
Compared to previous month
Last year
2.7%
194,181,884
Compared to previous year
1
1
PostCSS Normalize Display Values lets you specify definition of outer and inner displays types for an element.
1.element { 2 display: inline flow-root; 3} 4 5/* becomes */ 6 7.element { 8 display: inline-block; 9 display: inline flow-root; 10}
See prior work by cssnano here postcss-normalize-display-values To ensure long term maintenance and to provide the needed features this plugin was recreated based on cssnano's work.
Add PostCSS Normalize Display Values to your project:
1npm install postcss @csstools/postcss-normalize-display-values --save-dev
Use it as a PostCSS plugin:
1const postcss = require('postcss'); 2const postcssNormalizeDisplayValues = require('@csstools/postcss-normalize-display-values'); 3 4postcss([ 5 postcssNormalizeDisplayValues(/* pluginOptions */) 6]).process(YOUR_CSS /*, processOptions */);
PostCSS Normalize Display Values 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 preserved.
1postcssNormalizeDisplayValues({ preserve: false })
1.element { 2 display: inline flow-root; 3} 4 5/* becomes */ 6 7.element { 8 display: inline-block; 9}
No vulnerabilities found.
Reason
30 commit(s) and 11 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
0 existing vulnerabilities detected
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 0/23 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-01-27
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