Gathering detailed insights and metrics for @tsed/platform-aws
Gathering detailed insights and metrics for @tsed/platform-aws
Gathering detailed insights and metrics for @tsed/platform-aws
Gathering detailed insights and metrics for @tsed/platform-aws
📐 Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone. ⭐️ Star to support our work!
npm install @tsed/platform-aws
Typescript
Module System
Node Version
NPM Version
TypeScript (97.83%)
JavaScript (1.3%)
EJS (0.69%)
HTML (0.1%)
CSS (0.08%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2,988 Stars
5,875 Commits
294 Forks
42 Watchers
43 Branches
145 Contributors
Updated on Jul 13, 2025
Latest Version
6.102.8-rc.1
Package Id
@tsed/platform-aws@6.102.8-rc.1
Unpacked Size
31.53 kB
Size
7.51 kB
File Count
35
NPM Version
6.14.8
Node Version
16.14.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
4
3
IMPORTANT: This package is deprecated in favor of @tsed/platform-serverless-http
or @tsed/platform-serverless
. Please don't use this package for new project!
A package of Ts.ED framework. See website: https://tsed.io/tutorials/aws.html
Run npm command (or yarn):
1npm install --save @tsed/platform-aws
Create a new LambdaServer.ts
in src
directory:
1import {PlatformAws} from "@tsed/platform-aws"; 2import "@tsed/platform-express"; 3// or import "@tsed/platform-koa" 4 5PlatformAws.bootstrap(Server, { 6 aws: { 7 binaryMimeTypes: [ 8 // optional 9 // mime types list 10 ] 11 } 12 // additional Ts.ED options. See https://tsed.io/tutorials/aws.html 13}); 14 15// Handler used by AWS 16export const handler = PlatformAws.callback();
Then create lambda.js
on your root project:
1module.exports = require("./dist/LambdaServer.js");
This file will be used by AWS to forward request to your application.
Finally, package and create your Lambda function, then configure a simple proxy API using Amazon API Gateway and integrate it with your Lambda function.
See more details on aws-serveless-express
project.
This package includes decorators to easily get the event object Lambda received from API Gateway:
1import {Controller, Get} from "@tsed/common"; 2import {AwsEvent, AwsContext} from "@tsed/platform-aws"; 3 4@Controller("/") 5class MyCtrl { 6 @Get("/") 7 get(@AwsEvent() event: any, @AwsContext() context: any) { 8 console.log("Event", apiGateway.event); 9 console.log("Context", apiGateway.context); 10 11 return apiGateway; 12 } 13}
Please read contributing guidelines here
Thank you to all our backers! 🙏 [Become a backer]
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
The MIT License (MIT)
Copyright (c) 2016 - 2018 Romain Lenzotti
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
No vulnerabilities found.
Reason
30 commit(s) and 20 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
SAST tool is run on all commits
Details
Reason
Found 2/15 approved changesets -- score normalized to 1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
98 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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