next-tx-cos-bucket
Tencent cos bucket for next.
installation
npm install -S @feizheng/next-tx-cos-bucket
apis
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 '@feizheng/next-tx-cos-bucket';
// code goes here: