@faasjs/tencentcloud
TypeScript icon, indicating that this package has built-in type declarations

0.0.4-beta.2 • Public • Published

@faasjs/tencentcloud

License: MIT NPM Stable Version NPM Beta Version

FaasJS's tencentcloud provider.

Install

npm install @faasjs/tencentcloud

Modules

Classes

Type Aliases

Functions

Type Aliases

TencentcloudConfig

Ƭ TencentcloudConfig: Object

云 API 配置项 优先读取环境变量,如果没有则读取入参

Type declaration

Name Type
appId? string
region? string
secretId? string
secretKey? string
token? string

Functions

request

request<T>(«destructured»): Promise<T>

腾讯云请求封装

Type parameters

Name Type
T any

Parameters

Name Type
«destructured» TencentcloudConfig & { action: string ; payload: { [key: string]: any; } ; service: string ; version: string }

Returns

Promise<T>

Readme

Keywords

none

Package Sidebar

Install

DownloadsWeekly Downloads

778

Version

0.0.4-beta.2

License

MIT

Unpacked Size

60.4 kB

Total Files

7

Last publish

Collaborators

  • zfben