Skip to content

Commit

Permalink
renamed to upyun-classic
Browse files Browse the repository at this point in the history
  • Loading branch information
lisposter committed Aug 14, 2015
1 parent 30555ac commit cc351d2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# node-upyun-legacy
[![NPM version](https://img.shields.io/npm/v/upyun-legacy.svg?style=flat)](https://www.npmjs.org/package/upyun-legacy)
[![Build status](https://img.shields.io/travis/lisposter/node-upyun-legacy.svg?style=flat)](https://travis-ci.org/lisposter/node-upyun-legacy)
[![Test coverage](https://img.shields.io/coveralls/lisposter/node-upyun-legacy.svg?style=flat)](https://coveralls.io/r/lisposter/node-upyun-legacy?branch=master)
# node-upyun-classic
[![NPM version](https://img.shields.io/npm/v/upyun-classic.svg?style=flat)](https://www.npmjs.org/package/upyun-classic)
[![Build status](https://img.shields.io/travis/lisposter/node-upyun-classic.svg?style=flat)](https://travis-ci.org/lisposter/node-upyun-classic)
[![Test coverage](https://img.shields.io/coveralls/lisposter/node-upyun-classic.svg?style=flat)](https://coveralls.io/r/lisposter/node-upyun-classic?branch=master)

official upyun sdk for node.js (legacy)
official upyun sdk for node.js (classic)

# Install

```sh
$ npm install upyun-legacy --save
$ npm install upyun-classic --save
```

# Example
```js
var UPYUN = require('upyun');
var UPYUN = require('upyun-classic');

var upyun = new UPYUN('testbucket', 'operatername', 'operaterpwd', 'v0');
var upyun = new UPYUN('testbucket', 'operatorname', 'operatorpwd', 'v0');

upyun.getUsage(function(err, result) {
//...
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "upyun-legacy",
"version": "0.4.1",
"description": "official upyun sdk for node.js",
"name": "upyun-classic",
"version": "1.0.0",
"description": "upyun sdk for node.js",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git@github.com:lisposter/node-upyun-legacy.git"
"url": "git@github.com:lisposter/node-upyun-classic.git"
},
"keywords": [
"upyun",
Expand All @@ -19,9 +19,9 @@
"author": "Leigh Zhu",
"license": "MIT",
"bugs": {
"url": "https://github.com/lisposter/node-upyun-legacy/issues"
"url": "https://github.com/lisposter/node-upyun-classic/issues"
},
"homepage": "https://github.com/lisposter/node-upyun-legacy",
"homepage": "https://github.com/lisposter/node-upyun-classic",
"devDependencies": {
"istanbul": "^0.3.2",
"mocha": "~1.16.2",
Expand Down

0 comments on commit cc351d2

Please sign in to comment.