diff --git a/README.md b/README.md index 33a9088..2c591db 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,20 @@ Joox 加密处理库。 ## 安装 & 使用 (Install & Usage) +在项目目录加入 `.npmrc`: + +```ini +@unlock-music:registry=https://git.unlock-music.dev/api/packages/um/npm/ +``` + +然后安装: + ```sh npm i --save @unlock-music/joox-crypto ``` +使用: + ```js const jooxFactory = require('@unlock-music-gh/joox-crypto');