@h4ad/serverless-adapter
Advanced tools
Comparing version 2.2.0 to 2.3.0
{ | ||
"name": "@h4ad/serverless-adapter", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "This library enables you to utilize any Cloud or Event Source to respond to web and API requests using your existing Node.js application framework.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -66,2 +66,6 @@ <h1 align="center"> | ||
// if you create your app asynchronously | ||
// check the docs about the LazyFramework. | ||
// ServerlessAdapter.new(null) | ||
// .setFramework(new LazyFramework(new ExpressFramework(), async () => createAsyncApp())) | ||
export const handler = ServerlessAdapter.new(app) | ||
@@ -123,2 +127,5 @@ .setFramework(new ExpressFramework()) | ||
- [Koa](https://koajs.com/) by using ([KoaFramework](src/frameworks/koa/koa.framework.ts)) | ||
- Async Initialization by using ([LazyFramework](src/frameworks/lazy/lazy.framework.ts)) | ||
- Use this framework to provide a way to create the instance of your app asynchronously. | ||
- With him, you can create an instance of Express or Fastify asynchronously, [see the docs](src/frameworks/lazy/lazy.framework.ts). | ||
@@ -125,0 +132,0 @@ We support these event sources: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
194585
135
4556
343