Browse Source

Added installation method for yarn

PrashoonB 4 years ago
parent
commit
0ae926b47b
1 changed files with 4 additions and 0 deletions
  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