You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inspired by the AWSLABS [aws-serverless-express](https://github.com/awslabs/aws-serverless-express) library tailor made for the [Fastify](https://www.fastify.io/) web framework.
@@ -13,12 +13,12 @@ Inspired by the AWSLABS [aws-serverless-express](https://github.com/awslabs/aws-
13
13
## 👨🏻💻Installation
14
14
15
15
```bash
16
-
$ npm install aws-lambda-fastify
16
+
$ npm install @fastify/aws-lambda
17
17
```
18
18
19
19
## Options
20
20
21
-
**aws-lambda-fastify** can take options by passing them with : `awsLambdaFastify(app, options)`
21
+
**@fastify/aws-lambda** can take options by passing them with : `awsLambdaFastify(app, options)`
@@ -110,7 +110,7 @@ Since [AWS Lambda now enables the use of ECMAScript (ES) modules](https://aws.am
110
110
We can use this by calling the [`fastify.ready()`](https://www.fastify.io/docs/latest/Reference/Server/#ready) function outside of the Lambda handler function, like this:
111
111
112
112
```js
113
-
importawsLambdaFastifyfrom'aws-lambda-fastify'
113
+
importawsLambdaFastifyfrom'@fastify/aws-lambda'
114
114
importappfrom'./app.js'
115
115
exportconsthandler=awsLambdaFastify(app)
116
116
awaitapp.ready() // needs to be placed after awsLambdaFastify call because of the decoration: https://github.com/fastify/aws-lambda-fastify/blob/master/index.js#L9
@@ -121,19 +121,19 @@ await app.ready() // needs to be placed after awsLambdaFastify call because of t
<imgstyle="max-height: 80px;"src="https://raw.githubusercontent.com/fastify/aws-lambda-fastify/master/images/logos/locize.png"alt="locize is using aws-lambda-fastify"/>
149
+
<imgstyle="max-height: 80px;"src="https://raw.githubusercontent.com/fastify/aws-lambda-fastify/master/images/logos/locize.png"alt="locize is using @fastify/aws-lambda"/>
<imgstyle="max-height: 80px;"src="https://raw.githubusercontent.com/fastify/aws-lambda-fastify/master/images/logos/localistars.png"alt="localistars is using aws-lambda-fastify"/>
153
+
<imgstyle="max-height: 80px;"src="https://raw.githubusercontent.com/fastify/aws-lambda-fastify/master/images/logos/localistars.png"alt="localistars is using @fastify/aws-lambda"/>
154
154
</a>
155
155
156
156
---
157
157
<small>The logos displayed in this page are property of the respective organisations and they are
158
-
not distributed under the same license as aws-lambda-fastify (MIT).</small>
158
+
not distributed under the same license as @fastify/aws-lambda (MIT).</small>
0 commit comments