{"id":18636661,"url":"https://github.com/localstack/appsync-utils","last_synced_at":"2025-04-11T09:30:58.593Z","repository":{"id":194826365,"uuid":"691172928","full_name":"localstack/appsync-utils","owner":"localstack","description":"Implementation of AppSync JavaScript utilities","archived":false,"fork":false,"pushed_at":"2025-04-07T04:30:04.000Z","size":762,"stargazers_count":9,"open_issues_count":3,"forks_count":1,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-04-07T05:26:56.701Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/localstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-13T16:36:49.000Z","updated_at":"2025-04-07T04:30:07.000Z","dependencies_parsed_at":"2024-02-08T12:27:49.520Z","dependency_job_id":"2f94913a-3744-4606-934a-43a9866b518f","html_url":"https://github.com/localstack/appsync-utils","commit_stats":null,"previous_names":["simonrw/localstack-appsync-utils","localstack/appsync-utils"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fappsync-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fappsync-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fappsync-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fappsync-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/localstack","download_url":"https://codeload.github.com/localstack/appsync-utils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248368206,"owners_count":21092317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T05:31:02.266Z","updated_at":"2025-04-11T09:30:58.339Z","avatar_url":"https://github.com/localstack.png","language":"JavaScript","readme":"# AppSync Javascript resolver implementation\n\nThis package provides an implementation for the `@aws-appsync/utils` package that is available on AWS.\n\n\u003e [!TIP]\n\u003e To ensure you are using the latest version of this package with LocalStack, start LocalStack with the environment variable\n\u003e\n\u003e ```\n\u003e APPSYNC_JS_LIBS_VERSION=refresh localstack start\n\u003e ```\n\u003e\n\u003e This will fetch the latest version the first time a JavaScript resolver is executed. On next startup this flag is not needed unless the package needs to be updated.\n\u003e\n\u003e Alternatively the library can be pinned to a specific Git tag or commit by setting:  `APPSYNC_JS_LIBS_VERSION=\u003ccommit or tag\u003e`\n\n## Requesting functions to be implemented\n\nWe do not yet cover all functionality as provided by AWS AppSync.\nTo request missing functions, or to see our function coverage, please see https://github.com/localstack/appsync-utils/issues/19.\n\n## Development workflow\n\nThe test suite has automatic comparison with AWS. The testing workflow looks like:\n\n* Add the test to `__tests__/index.test.js` passing the string text of the utility you wish to test, for example\n\n```javascript\ntest(\"string\", async () =\u003e {\n  await checkValid(`util.dynamodb.toDynamoDB(\"test\")`);\n});\n```\n\n* Run the test against AWS to capture the snapshot:\n\n```bash\nnpm run test:aws\n```\n\n* Run the tests against the local package, using the snapshot for the ground truth\n\n```bash\nnpm run test\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalstack%2Fappsync-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocalstack%2Fappsync-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalstack%2Fappsync-utils/lists"}