tencent-serverless-http

1.3.2 • Public • Published

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

Dependencies (1)

Dev Dependencies (19)

Package Sidebar

Install

npm i tencent-serverless-http

Weekly Downloads

67,175

Version

1.3.2

License

Apache-2.0

Unpacked Size

15.6 kB

Total Files

7

Last publish

Collaborators

  • yugasun