Gathering detailed insights and metrics for css-modules-flow-types-loader
Gathering detailed insights and metrics for css-modules-flow-types-loader
Gathering detailed insights and metrics for css-modules-flow-types-loader
Gathering detailed insights and metrics for css-modules-flow-types-loader
Creates flow type definitions from CSS Modules files using Webpack loader or CLI 👾
npm install css-modules-flow-types-loader
Typescript
Module System
Min. Node Version
Node Version
NPM Version
75.2
Supply Chain
81.5
Quality
75.8
Maintenance
100
Vulnerability
100
License
JavaScript (93.16%)
Shell (4.71%)
CSS (1.53%)
SCSS (0.6%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
92 Stars
169 Commits
15 Forks
3 Watchers
3 Branches
11 Contributors
Updated on Jun 01, 2025
Latest Version
2.0.0
Package Id
css-modules-flow-types-loader@2.0.0
Unpacked Size
4.22 kB
Size
1.92 kB
File Count
3
NPM Version
6.14.12
Node Version
12.22.1
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
Webpack loader for creating Flow type definitions based on CSS Modules files.
This gives you:
Given the following css file using CSS Modules:
1@value primary: red; 2 3.myClass { 4 color: primary; 5}
css-modules-flow-types
creates the following .flow file next to it:
1// @flow 2/* This file is automatically generated by css-modules-flow-types */ 3declare module.exports: {| 4 +'myClass': string; 5 +'primary': string; 6|};
The css-modules-flow-types-loader
need to be added right after after style-loader
:
1$ npm install --dev css-modules-flow-types-loader 2$ yarn install -D css-modules-flow-types-loader
1{ 2 test: /\.css$/, // or the file format you are using for your CSS Modules 3 use: [ 4 'style-loader', 5 'css-modules-flow-types-loader', 6 // Other loaders like css-loader after this: 7 { 8 ... 9 } 10 ] 11}
This software is released under the MIT License.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
Found 1/2 approved changesets -- score normalized to 5
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
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
40 existing vulnerabilities detected
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