Gathering detailed insights and metrics for @maktouch/graphql-directive-connection
Gathering detailed insights and metrics for @maktouch/graphql-directive-connection
Gathering detailed insights and metrics for @maktouch/graphql-directive-connection
Gathering detailed insights and metrics for @maktouch/graphql-directive-connection
Generate relay connections by marking fields with a @connection directive.
npm install @maktouch/graphql-directive-connection
Typescript
Module System
Min. Node Version
Node Version
NPM Version
69.2
Supply Chain
70
Quality
75
Maintenance
100
Vulnerability
80.9
License
JavaScript (62.11%)
TypeScript (37.89%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
13 Stars
55 Commits
4 Forks
2 Watchers
6 Branches
4 Contributors
Updated on Sep 15, 2023
Latest Version
3.0.0
Package Id
@maktouch/graphql-directive-connection@3.0.0
Unpacked Size
12.70 kB
Size
4.21 kB
File Count
7
NPM Version
7.21.1
Node Version
16.9.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
4
This package generates relay connections by marking fields with a @connection
directive, and then passing your SDL through applyConnectionTransform
.
Take a look at ./example.js.
You can run it using npx babel-node example.js
.
It will:
@connection
directives.By default the cacheControl
directives are not generated on Edge object types and inside connection fields which results in cache arguments being completely ignored.
Enabling defaultMaxAge
for all types/fields across your GraphQL implementation partially solve the problem, however it might not be the best options.
It is possible to enable cacheControl
directive support by passing a useCacheControl: true
flag to applyConnectionTransform
function.
The package will then use the largest maxAge
across the connection fields with custom types and apply it to edges
and pageInfo
fields along with the Edge
type.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/27 approved changesets -- score normalized to 1
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
14 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