소스 검색

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