- Easier function definition with decorators
- Simplified dependency management with dependency injection
- Powerful middleware, pipe
- Abstracted http event objects
-
@hapi/boom
support
Installation
$ npm install @typemon/serverless
- Install event definitions if necessary.
$ npm install -D @types/aws-lambda
TypeScript
- Version
3.5 or later
is required. - Configure the decorator and metadata options.
{
"emitDecoratorMetadata": true,
"experimentalDecorators": true
}
Usage
See example.