# 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.

Latest version **1.3.2** (published 2021-05-20) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install tencent-serverless-http
pnpm add tencent-serverless-http
yarn add tencent-serverless-http
bun add tencent-serverless-http
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.2 |
| Published | 2021-05-20 |
| First published | 2020-01-15 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 1 |
| Unpacked size | 15.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | yugasun |
| Keywords | tencent-cloud, serverless, api, gateway, scf, nodejs |

## Links

- npm: https://www.npmjs.com/package/tencent-serverless-http
- Repository: https://github.com/serverless-plus/tencent-serverless-http
- Issues: https://github.com/serverless-plus/tencent-serverless-http/issues
- npm.io page: https://npm.io/package/tencent-serverless-http

## Dependencies (1)

- [type-is](https://npm.io/package/type-is.md) ^1.6.16

## Recent versions

- 1.3.2 (latest) — 2021-05-20
- 1.3.1 — 2020-09-17
- 1.3.0 — 2020-09-16
- 1.2.0 — 2020-05-13
- 2.0.0 — 2020-05-13
- 1.1.0 — 2020-04-24
- 1.1.0-beta-0 — 2020-04-24
- 1.1.0-beta — 2020-04-24
- 1.0.7 — 2020-03-17
- 1.0.5 — 2020-02-09
- 1.0.4 — 2020-01-16
- 1.0.3 — 2020-01-16
- 1.0.2 — 2020-01-15

## README

# Tencent Serverless Http

[![Build Status](https://travis-ci.com/serverless-plus/tencent-serverless-http.svg?branch=master)](https://travis-ci.com/serverless-plus/tencent-serverless-http)
[![npm](https://img.shields.io/npm/v/tencent-serverless-http.svg)](http://www.npmtrends.com/tencent-serverless-http)
[![NPM downloads](https://img.shields.io/npm/dm/tencent-serverless-http.svg)](http://www.npmtrends.com/tencent-serverless-http)

This project is a fork of
[aws-serverless-express](https://github.com/awslabs/aws-serverless-express.git),
and modify for tencent cloud scf.

## Install

```bash
npm install tencent-serverless-http
```

## Usage

```js
// 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

---
_Source: https://npm.io/package/tencent-serverless-http · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
