Gathering detailed insights and metrics for appsync-client
Gathering detailed insights and metrics for appsync-client
Gathering detailed insights and metrics for appsync-client
Gathering detailed insights and metrics for appsync-client
@aws-sdk/client-appsync
AWS SDK for JavaScript Appsync Client for Node.js, Browser and React Native
appsync-client-node
Lightweight AWS AppSync client optimized for Lambda Node.js Runtime
@rentujemy/appsync-client
@trivikr-test/client-appsync
AWS SDK for JavaScript Appsync Client for Node.js, Browser and React Native
A lightweight Appsync client that signs requests for you - designed to be run server-side (e.g. on Lambdas)
npm install appsync-client
Typescript
Module System
Node Version
NPM Version
TypeScript (100%)
Total Downloads
111,270
Last Day
204
Last Week
1,202
Last Month
4,098
Last Year
50,095
MIT License
22 Stars
44 Commits
3 Forks
2 Watchers
4 Branches
4 Contributors
Updated on Sep 13, 2024
Minified
Minified + Gzipped
Latest Version
2.16.0
Package Id
appsync-client@2.16.0
Unpacked Size
60.56 kB
Size
19.30 kB
File Count
24
NPM Version
6.14.16
Node Version
12.22.12
Published on
Jan 09, 2023
Cumulative downloads
Total Downloads
Last Day
-18.7%
204
Compared to previous day
Last Week
-15.4%
1,202
Compared to previous week
Last Month
9.9%
4,098
Compared to previous month
Last Year
71.9%
50,095
Compared to previous year
A lightweight Appsync client that signs requests for you (using IAM permissions) - perfect for running on Lambdas or servers.
Queries are made using TypedDocumentNode which means that the variables and results will be automatically typed for you if using Typescript.
1import AppsyncClient from "appsync-client"; 2 3async function getTodo() { 4 5 // Create a client 6 const client = new AppsyncClient({ 7 // Required 8 apiUrl: "https://xxx.appsync-api.xx-xxxx-x.amazonaws.com/graphql", 9 // Optional - these will default to process.env values (e.g. the IAM 10 // role of the Lambda) 11 accessKeyId: "", 12 secretAccessKey: "", 13 sessionToken: "" 14 }); 15 16 // Query for Todos 17 const res = await client.request({ 18 // The typed document node query 19 query: TypedDocumentNodeQuery, 20 // Variables to replace (here we are replacing $id with "todoId") 21 variables: { 22 id: "todoId" 23 } 24 ); 25}
CD Feature | Provided |
---|---|
✅ | Typescript |
✅ | Linting (AirBnB + Prettier) |
✅ | Unit tests (Jest) |
✅ | 100% test coverage |
✅ | Github Continuous Deployment |
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/17 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
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
12 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-04-28
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