https://github.com/cnpm/co-upyun-storage
Upyun-storage for co
https://github.com/cnpm/co-upyun-storage
Last synced: 12 months ago
JSON representation
Upyun-storage for co
- Host: GitHub
- URL: https://github.com/cnpm/co-upyun-storage
- Owner: cnpm
- License: mit
- Created: 2014-08-01T03:20:09.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2019-10-04T23:21:42.000Z (over 6 years ago)
- Last Synced: 2025-02-17T03:03:25.296Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 181 KB
- Stars: 1
- Watchers: 19
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
co-upyun-storage(upyun-storage的co版本)
======================================
## Requirements
请使用node v0.11.3以上的版本,并且打开`--harmony`开关。
## Installation
```bash
$ npm install co-upyun-storage
```
## Usage
```
co(function *() {
var client = Client.create('test', 'test1234', 'jackson-test-space');
var result = yield client.deleteFile('/sticker.jpg');
var info = yield client.getFileInfo('/sticker.jpg');
})(done);
```
## License
The MIT License