docs: update readme
This commit is contained in:
parent
2db0cacb95
commit
b24557d9dd
10
README.md
10
README.md
@ -8,10 +8,20 @@ Joox 加密处理库。
|
|||||||
|
|
||||||
## 安装 & 使用 (Install & Usage)
|
## 安装 & 使用 (Install & Usage)
|
||||||
|
|
||||||
|
在项目目录加入 `.npmrc`:
|
||||||
|
|
||||||
|
```ini
|
||||||
|
@unlock-music:registry=https://git.unlock-music.dev/api/packages/um/npm/
|
||||||
|
```
|
||||||
|
|
||||||
|
然后安装:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm i --save @unlock-music/joox-crypto
|
npm i --save @unlock-music/joox-crypto
|
||||||
```
|
```
|
||||||
|
|
||||||
|
使用:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const jooxFactory = require('@unlock-music-gh/joox-crypto');
|
const jooxFactory = require('@unlock-music-gh/joox-crypto');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user