Gathering detailed insights and metrics for egg-koid
Gathering detailed insights and metrics for egg-koid
Gathering detailed insights and metrics for egg-koid
Gathering detailed insights and metrics for egg-koid
npm install egg-koid
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (72.57%)
Shell (16.88%)
JavaScript (10.55%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
4 Stars
1,171 Commits
2 Forks
2 Watchers
6 Branches
1 Contributors
Updated on Nov 22, 2024
Latest Version
5.0.0
Package Id
egg-koid@5.0.0
Unpacked Size
27.70 kB
Size
8.47 kB
File Count
41
NPM Version
lerna/4.0.0/node@v14.17.4+x64 (linux)
Node Version
14.17.4
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
1npm i egg-koid
Edit ${app_root}/src/config/plugin.ts
:
1export const koid = { 2 enable: true, 3 package: 'egg-koid', 4}
1/* location: ${app_root}/src/config/config.${env}.ts */ 2 3import { KoidEggConfig, genConfigRandom } from 'egg-koid' 4 5export const koid: KoidEggConfig = { 6 client: { 7 debug: false, 8 koidConfig: genConfigRandom(), // value or void 0 9 }, 10} 11// OR 12export const koid: KoidEggConfig = { 13 client: { 14 debug: false, 15 koidConfig: { 16 dataCenter: 0, 17 worker: 1, 18 } 19 }, 20}
1import { Plugin, Provide } from '@midwayjs/decorator' 2import type { Koid } from 'egg-koid' // note: import **type** 3 4@Provide() 5export class UserService { 6 7 @Plugin() readonly koid: Koid 8 9}
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
dependency not pinned by hash detected -- score normalized to 1
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
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
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-06-30
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