Gathering detailed insights and metrics for postcss-modules-extract-imports
Gathering detailed insights and metrics for postcss-modules-extract-imports
Gathering detailed insights and metrics for postcss-modules-extract-imports
Gathering detailed insights and metrics for postcss-modules-extract-imports
A CSS Modules transform to extract local aliases for inline imports
npm install postcss-modules-extract-imports
Typescript
Module System
Min. Node Version
Node Version
NPM Version
98.6
Supply Chain
91.8
Quality
80.9
Maintenance
100
Vulnerability
100
License
JavaScript (53.99%)
CSS (46.01%)
Total Downloads
4,586,136,007
Last Day
3,860,562
Last Week
20,063,902
Last Month
81,274,451
Last Year
912,173,909
ISC License
41 Stars
107 Commits
6 Forks
6 Watchers
133 Branches
15 Contributors
Updated on Dec 18, 2024
Minified
Minified + Gzipped
Latest Version
3.1.0
Package Id
postcss-modules-extract-imports@3.1.0
Unpacked Size
10.92 kB
Size
3.82 kB
File Count
5
NPM Version
10.2.3
Node Version
18.19.0
Published on
Apr 03, 2024
Cumulative downloads
Total Downloads
Last Day
2.5%
3,860,562
Compared to previous day
Last Week
14.9%
20,063,902
Compared to previous week
Last Month
-0.9%
81,274,451
Compared to previous month
Last Year
0.5%
912,173,909
Compared to previous year
1
Transforms:
1:local(.continueButton) { 2 composes: button from "library/button.css"; 3 color: green; 4}
into:
1:import("library/button.css") { 2 button: __tmp_487387465fczSDGHSABb; 3} 4:local(.continueButton) { 5 composes: __tmp_487387465fczSDGHSABb; 6 color: green; 7}
['composes']
alone.composes: className [... className] from "path/to/file.css", className [... className], className [... className] from global;
failOnWrongOrder
bool
generates exception for unpredictable imports order.1.aa { 2 composes: b from "./b.css"; 3 composes: c from "./c.css"; 4} 5 6.bb { 7 /* "b.css" should be before "c.css" in this case */ 8 composes: c from "./c.css"; 9 composes: b from "./b.css"; 10}
npm install
npm test
ISC
Glen Maddern, 2015.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/8 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- 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
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
21 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-12
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