Added installation method for yarn

This commit is contained in:
PrashoonB 2021-01-23 21:41:08 +05:30 committed by GitHub
parent 460130a527
commit 0ae926b47b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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