Explorar o código

Added installation method for yarn

PrashoonB %!s(int64=4) %!d(string=hai) anos
pai
achega
0ae926b47b
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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