{"id":21748876,"url":"https://github.com/ahmetonurslmz/aws-lambda-adapters","last_synced_at":"2026-05-09T02:36:54.725Z","repository":{"id":57188269,"uuid":"365482651","full_name":"ahmetonurslmz/aws-lambda-adapters","owner":"ahmetonurslmz","description":"Ready-use adapters (resolvers and body parsers) for AWS Lambda Proxy integration","archived":false,"fork":false,"pushed_at":"2021-05-08T12:23:41.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-29T20:21:47.026Z","etag":null,"topics":["adapters","api","aws","gateway","integration","lambda","proxy"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahmetonurslmz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-08T10:15:28.000Z","updated_at":"2021-05-08T12:22:17.000Z","dependencies_parsed_at":"2022-08-28T13:00:41.581Z","dependency_job_id":null,"html_url":"https://github.com/ahmetonurslmz/aws-lambda-adapters","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ahmetonurslmz/aws-lambda-adapters","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetonurslmz%2Faws-lambda-adapters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetonurslmz%2Faws-lambda-adapters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetonurslmz%2Faws-lambda-adapters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetonurslmz%2Faws-lambda-adapters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmetonurslmz","download_url":"https://codeload.github.com/ahmetonurslmz/aws-lambda-adapters/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetonurslmz%2Faws-lambda-adapters/sbom","scorecard":{"id":172257,"data":{"date":"2025-08-11","repo":{"name":"github.com/ahmetonurslmz/aws-lambda-adapters","commit":"65dc8750a8ca891b0125f9514a12941f3185c1e0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-package.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/ahmetonurslmz/aws-lambda-adapters/release-package.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-package.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/ahmetonurslmz/aws-lambda-adapters/release-package.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/release-package.yml:17","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release-package.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-16T16:53:44.003Z","repository_id":57188269,"created_at":"2025-08-16T16:53:44.003Z","updated_at":"2025-08-16T16:53:44.003Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32805155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["adapters","api","aws","gateway","integration","lambda","proxy"],"created_at":"2024-11-26T08:15:41.284Z","updated_at":"2026-05-09T02:36:54.704Z","avatar_url":"https://github.com/ahmetonurslmz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/ahmetonurslmz/aws-lambda-adapters.svg?branch=main)](https://travis-ci.com/ahmetonurslmz/aws-lambda-adapters)\n[![dependencies Status](https://status.david-dm.org/gh/ahmetonurslmz/aws-lambda-adapters.svg)](https://david-dm.org/ahmetonurslmz/aws-lambda-adapters)\n[![devDependencies Status](https://status.david-dm.org/gh/ahmetonurslmz/aws-lambda-adapters.svg?type=dev)](https://david-dm.org/ahmetonurslmz/aws-lambda-adapters?type=dev)\n[![install size](https://packagephobia.com/badge?p=aws-lambda-adapters)](https://packagephobia.com/result?p=aws-lambda-adapters)\n[![npm version](https://badge.fury.io/js/aws-lambda-adapters.svg)](https://badge.fury.io/js/aws-lambda-adapters)\n\nAWS Lambda Adapters\n=============\nReady-use adapters (resolvers and body parsers) for AWS Lambda Proxy integration\n\n\nAWS Lambda Proxy integration for API gateway on AWS has a fixed structure for getting request and returning response. However, this structure needs some ready-use adapters, converters and parsers so that AWS Lambda adapters can provide you with efficient input and output.\n\nFor better performance, you must use \"**Use Lambda Proxy integration**\" for your dependent API gateway with lambda function.\n\n## Installing\n\nUsing npm:\n\n```bash\n$ npm install aws-lambda-adapters\n```\n\n## How to use\n\n### Response\nResponse is ready-use resolvers in order to return data to client. There are two kind of responses called success and error.\n\n```js\nconst { response } = require('aws-lambda-adapters');\n\n// passes response configs as an object.\nresponse.success({});\nresponse.error({});\n```\n\n#### Success Config\n\n```js\n{\n    // 'data' is thing that you want to send to client. It is empty object as default.\n    data = {},\n    // 'code' is HTTP response code. It is 200 as default.\n    code = 200,\n    // 'message' is string that you want to give information about response. It is 'Success' as default.\n    message = 'Success'\n}\n```\n\n#### Error Config\n\n```js\n{\n    // 'code' is HTTP response code. It is 400 as default.\n    code = 400,\n    // 'message' is string that you want to give information about error. It is 'Something went wrong' as default.\n    message = 'Something went wrong'\n}\n```\n\n### Request\nRequest is adapter that converts event of aws lambda proxy integration to ready-use JSON data. \n\n```js\nconst { request } = require('aws-lambda-adapters');\n\n// passes event parameter to request function as a parameter\nconst { body } = request(event);\n// it is JSON anymore.\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmetonurslmz%2Faws-lambda-adapters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmetonurslmz%2Faws-lambda-adapters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmetonurslmz%2Faws-lambda-adapters/lists"}