From b24557d9dd29a195cbf8b8fd0d900c5d5204e714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=A0=91=E4=BA=BA?= Date: Sun, 29 Sep 2024 18:25:12 +0100 Subject: [PATCH] docs: update readme --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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');