浏览代码

Added installation method for yarn

PrashoonB 4 年之前
父节点
当前提交
0ae926b47b
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      README.md

+ 4 - 0
README.md

@@ -53,7 +53,11 @@ If you have your own server, you can attach PeerServer.
 1. Install the package:
     ```sh
     #$ cd your-project-path
+    # with npm
     $ npm install peer
+    
+    # with yarn
+    $ yarn add peer
     ```
 2. Use PeerServer object to create a new server:
     ```javascript