{"id":15491312,"url":"https://github.com/myconsciousness/aws-lambda-dart-runtime-ns","last_synced_at":"2025-10-10T23:44:49.304Z","repository":{"id":235407890,"uuid":"790555653","full_name":"myConsciousness/aws-lambda-dart-runtime-ns","owner":"myConsciousness","description":"A powerful runtime to build Lambda functions in Dart with native AWS events. Sound null safety.","archived":false,"fork":false,"pushed_at":"2024-09-02T01:15:01.000Z","size":48,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-22T19:11:58.746Z","etag":null,"topics":["aws","aws-lambda","aws-lambda-dart","aws-lambda-runtime"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/aws_lambda_dart_runtime_ns","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/myConsciousness.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2024-04-23T05:11:19.000Z","updated_at":"2024-12-26T23:00:47.000Z","dependencies_parsed_at":"2025-01-21T00:24:02.028Z","dependency_job_id":"169c9ee9-e456-4b0d-8473-3381a56841cc","html_url":"https://github.com/myConsciousness/aws-lambda-dart-runtime-ns","commit_stats":null,"previous_names":["myconsciousness/aws-lambda-dart-runtime-ns"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myConsciousness%2Faws-lambda-dart-runtime-ns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myConsciousness%2Faws-lambda-dart-runtime-ns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myConsciousness%2Faws-lambda-dart-runtime-ns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myConsciousness%2Faws-lambda-dart-runtime-ns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myConsciousness","download_url":"https://codeload.github.com/myConsciousness/aws-lambda-dart-runtime-ns/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250306640,"owners_count":21408926,"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":["aws","aws-lambda","aws-lambda-dart","aws-lambda-runtime"],"created_at":"2024-10-02T07:44:48.107Z","updated_at":"2025-10-10T23:44:44.270Z","avatar_url":"https://github.com/myConsciousness.png","language":"Dart","readme":"# Dart Runtime for AWS Lambda **(Sound Null Safety)**\n\n\u003cp align=\"center\"\u003e\n   A 🎯 \u003ca href=\"https://dart.dev/\"\u003eDart\u003c/a\u003e Runtime for ƛ \u003ca href=\"https://aws.amazon.com/lambda/\"\u003eAWS Lambda\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nThis package is based on the official [aws-lambda-dart-runtime](https://github.com/awslabs/aws-lambda-dart-runtime).\nIt is a restructured version of the outdated official [aws-lambda-dart-runtime](https://github.com/awslabs/aws-lambda-dart-runtime) adapted to the latest Dart SDK to make it easier to maintain.\n\nThanks to [katallaxie](https://github.com/katallaxie) and [AWS Labs](https://github.com/awslabs)\ninvolved in the development of the [original stuff](https://github.com/awslabs/aws-lambda-dart-runtime)!\n\nYou can read the [official document](https://github.com/awslabs/aws-lambda-dart-runtime/blob/master/README.md) too!\n\n---\n\n## Features\n\nRead [Introducing a Dart runtime for AWS Lambda](https://aws.amazon.com/de/blogs/opensource/introducing-a-dart-runtime-for-aws-lambda/)\n\n- Great performance `\u003c 10ms` on event processing and `\u003c 50MB` memory consumption\n- No need to ship the Dart runtime\n- Multiple event handlers\n- Support for [serverless framework](https://github.com/awslabs/aws-lambda-dart-runtime/blob/master/README.md#-serverless-framework-experimental)\n\n## 📦 Install\n\nYou can easily add this package to your app.\n\n```bash\ndart pub add aws_lambda_dart_runtime_ns\n```\n\n```bash\ndart pub get\n```\n\n## ƛ Use\n\n```dart\nimport 'package:aws_lambda_dart_runtime_ns/aws_lambda_dart_runtime_ns.dart';\n\nFuture\u003cvoid\u003e main() async =\u003e await invokeAwsLambdaRuntime([\n      _sayHelloWorldFunction,\n      _doSomethingFunction,\n      _sayHelloWorldForApiGatewayFunction,\n    ]);\n\n/// GET endpoint that just returns \"Hello, World!\".\nFunctionHandler get _sayHelloWorldFunction =\u003e FunctionHandler(\n      name: 'main.helloWorld',\n      action: (context, event) {\n        return InvocationResult(\n          requestId: context.requestId,\n          body: {\n            'message': 'Hello, World!',\n          },\n        );\n      },\n    );\n\n/// POST endpoint does something.\nFunctionHandler get _doSomethingFunction =\u003e FunctionHandler(\n      name: 'main.doSomething',\n      action: (context, event) {\n        // Do something here...\n\n        return InvocationResult(requestId: context.requestId);\n      },\n    );\n\n/// GET endpoint that returns \"Hello, World!\" with statusCode and headers.\nFunctionHandler get _sayHelloWorldForApiGatewayFunction =\u003e FunctionHandler(\n      name: 'main.helloWorld',\n      action: (context, event) {\n        return InvocationResult(\n          requestId: context.requestId,\n          body: AwsApiGatewayResponse.fromJson(\n            {'message': 'Hello, World!'},\n            isBase64Encoded: false,\n            statusCode: 200,\n            headers: const {'Content-Type': 'application/json'},\n          ),\n        );\n      },\n    );\n```\n\n## License\n\n[Apache 2.0](/LICENSE)\n\nWe :blue_heart: Dart.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyconsciousness%2Faws-lambda-dart-runtime-ns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyconsciousness%2Faws-lambda-dart-runtime-ns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyconsciousness%2Faws-lambda-dart-runtime-ns/lists"}