Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yufeiminds committed Sep 1, 2021
1 parent bb522d1 commit d665a87
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,7 @@
使用 `npm` 安装(推荐):

```bash
$ npm install @ucloud/ucloud-sdk-js
```

> 注意:内测阶段,未注册到官方仓库,只能采用源码安装,npm registry 方式暂时不可用。
```bash
git clone https://git.ucloudadmin.com/ucloud-sdk/ucloud-sdk-nodejs.git
cd ucloud-sdk-nodejs && npm install
cd examples/uhost && node index.js
$ npm install @ucloud-sdks/ucloud-sdk-js
```

## 初次使用
Expand All @@ -25,7 +17,7 @@ cd examples/uhost && node index.js
下面提供一个简单的示例:

```javascript
const {Client} = require("ucloud-sdk-js/lib/services");
const {Client} = require("@ucloud-sdks/ucloud-sdk-js");

function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms))
Expand Down

0 comments on commit d665a87

Please sign in to comment.