Socket
Socket
Sign inDemoInstall

cloud-serverless-http

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cloud-serverless-http

AWS lambda handler wrapper for nodejs servers


Version published
Maintainers
1
Created

Readme

Source

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.

Keywords

FAQs

Last updated on 17 Feb 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc