Browse Source

Added NPM installation instructions.

Eden Tyler-Moss 5 năm trước cách đây
mục cha
commit
8409552275
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      README.md

+ 4 - 0
README.md

@@ -26,6 +26,10 @@ $> peerjs --port 9000 --key peerjs --path /myapp
 
 Or, create a custom server:
 
+```bash
+$> npm install peerjs-server
+```
+
 ```javascript
 const PeerServer = require('peer').PeerServer;
 const server = PeerServer({port: 9000, path: '/myapp'});