Skip to content

cnpm/co-upyun-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

co-upyun-storage(upyun-storage的co版本)

Requirements

请使用node v0.11.3以上的版本,并且打开--harmony开关。

Installation

$ 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

About

Upyun-storage for co

Resources

License

Stars

Watchers

Forks

Packages

No packages published