New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

fibjs_qcloud

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fibjs_qcloud

腾讯云部分接口fibjs版本封装

latest
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

qcloud api for fibjs version

COSObject支持:腾讯云cos的object的crud。
SCFClient:云函数的基础支持
ApiBase: api基础调用支持(可参照SCFClient 编写其他自己需要的api函数调用)

const COSBucket=require("fibjs_qcloud").COSBucket;
const COSObject=require("fibjs_qcloud").COSObject;
let conf = {secretId:SECRET_ID, secretKey:SECRET_KEY, appId:APPID, endpoint:"https://xxxx-10000.cos.ap-shanghai.myqcloud.com", bucket:"xxxx-10000"};
let bucket = new COSBucket(conf);
let cosObj = new COSObject(conf);

bucket.listObjects({prefix:"wx/", "max-keys":1000});

cosObj.headObject("wx/tmp.jpg");
cosObj.deleteObject("wx/tmp.jpg");

Keywords

fibjs

FAQs

Package last updated on 14 Dec 2022

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