1.0.0 • Published 5 years ago
@jswork/next-tx-cos-bucket v1.0.0
next-tx-cos-bucket
Tencent cos bucket for next.
installation
npm install -S @jswork/next-tx-cos-bucketapis
| api | params | description |
|---|---|---|
| get | - | Cos getBucket |
| put | - | Cos putBucket |
| del | - | Cos deleteBucket |
| head | - | Cos headBucket |
| gets | - | List cos buckets |
| has | - | Extend method has bucket |
| create | - | Extend method create bucket |
| destroy | - | Extend method destroy bucket |
usage
import NxTxCosBucket from '@jswork/next-tx-cos-bucket';
// code goes here:resources
- https://stackoverflow.com/questions/24586110/resolve-promises-one-after-another-i-e-in-sequence
- http://bluebirdjs.com/docs/api-reference.html
- https://cloud.tencent.com/document/product/436/36118
license
Code released under the MIT license.
1.0.0
5 years ago