{"id":19889548,"url":"https://github.com/tsmx/nodejs-lambda-tutorial","last_synced_at":"2026-04-11T09:04:37.163Z","repository":{"id":185958361,"uuid":"674391645","full_name":"tsmx/nodejs-lambda-tutorial","owner":"tsmx","description":"Tutorial for creating and deploying a Lambda function on AWS with Node.js (ESM)","archived":false,"fork":false,"pushed_at":"2024-07-26T19:20:03.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T22:58:13.029Z","etag":null,"topics":["aws","aws-cli","aws-lambda","aws-lambda-node","docker","esm","esmodules","lambda-functions","lamdba","nodejs"],"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/tsmx.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-08-03T20:47:54.000Z","updated_at":"2024-07-26T19:20:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"c8965315-228e-4986-8d2d-1f46d0932e42","html_url":"https://github.com/tsmx/nodejs-lambda-tutorial","commit_stats":null,"previous_names":["tsmx/nodejs-lambda-test","tsmx/nodejs-lambda-tutorial"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tsmx/nodejs-lambda-tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsmx%2Fnodejs-lambda-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsmx%2Fnodejs-lambda-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsmx%2Fnodejs-lambda-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsmx%2Fnodejs-lambda-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsmx","download_url":"https://codeload.github.com/tsmx/nodejs-lambda-tutorial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsmx%2Fnodejs-lambda-tutorial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31674624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["aws","aws-cli","aws-lambda","aws-lambda-node","docker","esm","esmodules","lambda-functions","lamdba","nodejs"],"created_at":"2024-11-12T18:10:40.989Z","updated_at":"2026-04-11T09:04:37.147Z","avatar_url":"https://github.com/tsmx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Creating an AWS Lambda function with Node.js\n\n\u003e Tutorial for creating an AWS [Lambda](https://aws.amazon.com/de/lambda/) function in Node.js (ESM) and deploying it with pure code upload or a Docker-image using the AWS CLI.\n\n## Prerequisites\n\nTo follow along the tutorial you'll need up \u0026 running...\n- Node.js \u003e= v14, version 18 LTS or higher recommended\n- AWS CLI v2, see the [getting started guide](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)\n- Docker, v20.10 was used here\n\n## The Lambda function\n\nThe function itself is defined in `index.js` and called [handler](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-handler.html) in the AWS Lambda terminology..\n\n```js\nexport const handler = async (event, context) =\u003e {\n  console.log('EVENT: \\n' + JSON.stringify(event, null, 2));\n  return { info: 'Hello from AWS Lambda!' };\n};\n```\n\nAs per definition, any Lambda function will receive an `event` which is a JSON object passed by the invoker and a `context` object passed by Lambda itself. See here for details about the [context](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-context.html).\n\n**More information coming soon...**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsmx%2Fnodejs-lambda-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsmx%2Fnodejs-lambda-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsmx%2Fnodejs-lambda-tutorial/lists"}