Gathering detailed insights and metrics for @kkt/less-modules
Gathering detailed insights and metrics for @kkt/less-modules
Gathering detailed insights and metrics for @kkt/less-modules
Gathering detailed insights and metrics for @kkt/less-modules
Create React apps with no build configuration, Cli tool for creating react apps.
npm install @kkt/less-modules
Typescript
Module System
Node Version
NPM Version
TypeScript (54.54%)
JavaScript (18.4%)
HTML (13.22%)
Less (7.34%)
CSS (5.66%)
SCSS (0.37%)
Stylus (0.34%)
Shell (0.12%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
50 Stars
1,236 Commits
12 Forks
1 Watchers
20 Branches
4 Contributors
Updated on Jan 31, 2025
Latest Version
7.5.5
Package Id
@kkt/less-modules@7.5.5
Unpacked Size
9.86 kB
Size
2.56 kB
File Count
5
NPM Version
10.2.3
Node Version
18.19.0
Published on
Jan 04, 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
2
1
Use create-react-app to build react libraries. Support for regular less files and *.module.less files. This package contains a plugin for using Less with kkt.
1yarn add --dev @kkt/less-modules 2# or use npm if you don't have yarn yet 3npm install --save-dev @kkt/less-modules
In the .kktrc.js
or .kktrc.ts
you created for kkt
add this code:
1import lessModules from '@kkt/less-modules';
2
3export default (conf, evn, options) => {
4 conf = lessModules(conf, evn, options);
5
6 // with loaderOptions
7 conf = lessModules.withLoaderOptions({
8 modifyVars: {
9 "@primary-color": "#1890ff",
10 },
11 })(config, env, options);
12
13 return conf;
14}
In package.json
, add a separate npm script to build library
1{ 2 "scripts": { 3 ... 4 "bundle": "kkt build --bundle", 5 "bundle:min": "kkt build --bundle --mini", 6 ... 7 } 8}
And you can now use CRA to build your library
1import lessModules from '@kkt/less-modules'; 2 3export default (conf, evn, options) => { 4 5 // with loaderOptions 6 conf = lessModules.withLoaderOptions({ 7 lessOptions: { 8 modifyVars: { 9 "@primary-color": "#1890ff", 10 }, 11 } 12 })(conf, env, options); 13 14 return conf; 15}
Licensed under the MIT License
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/18 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
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