An open API service indexing awesome lists of open source software.

https://github.com/afeiship/next-tx-cos-object

Tencent cos object for next.
https://github.com/afeiship/next-tx-cos-object

cos next object tencent tx

Last synced: 6 months ago
JSON representation

Tencent cos object for next.

Awesome Lists containing this project

README

          

# next-tx-cos-object
> Tencent cos object for next.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-tx-cos-object
```

## apis
| api | params | description |
| ----- | ------ | ---------------------------------- |
| put | - | Upload file. |
| del | - | Delete file from bucket. |
| dels | - | Delete multiple files from bucket. |
| empty | - | Empty the bucket files. |

## usage
```js
import NxTxCosObject from '@jswork/next-tx-cos-object';
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-tx-cos-object/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-tx-cos-object
[version-url]: https://npmjs.org/package/@jswork/next-tx-cos-object

[license-image]: https://img.shields.io/npm/l/@jswork/next-tx-cos-object
[license-url]: https://github.com/afeiship/next-tx-cos-object/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-tx-cos-object
[size-url]: https://github.com/afeiship/next-tx-cos-object/blob/master/dist/next-tx-cos-object.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-tx-cos-object
[download-url]: https://www.npmjs.com/package/@jswork/next-tx-cos-object