cloud-serverless-http
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

cloud-serverless-http

Description

Node package that enables usage of backend frameworks over serverless functions.

Usage

npm install cloud-serverless-http --save-exact

For projects that are using typescript, you'll need to install additional packages:

npm install @types/aws-lambda --save
npm install @types/node --save
# lambda.ts or lambda.js

import { createHandler } from 'cloud-serverless-http';

import { app } from './express-app';

export const handler = createHandler({ app });

You can check a full example with Express, Typescript, Inversify and CDK in this repository.

/cloud-serverless-http/

    Package Sidebar

    Install

    npm i cloud-serverless-http

    Weekly Downloads

    10

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    107 kB

    Total Files

    81

    Last publish

    Collaborators

    • ionutmilica