🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

tencent-serverless-http

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tencent-serverless-http

This library enables you to utilize Tencent Cloud API Gateway to respond to web and API requests using your existing Node.js application framework.

1.3.2
latest
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created

Tencent Serverless Http

Build Status npm NPM downloads

This project is a fork of aws-serverless-express, and modify for tencent cloud scf.

Install

npm install tencent-serverless-http

Usage

// handler.js
'use strict';
const tencentServerlessHttp = require('tencent-serverless-http');
const app = require('./app');
const server = tencentServerlessHttp.createServer(app);

exports.handler = (event, context) => {
  tencentServerlessHttp.proxy(server, event, context);
};

License

MIT License

Copyright (c) 2020 Serverless Plus

FAQs

Package last updated on 20 May 2021

Did you know?

Socket

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