now uses npm package
This commit is contained in:
@@ -27,15 +27,15 @@ web-ext run # this will launch a new firefox instance
|
||||
|
||||
Then, start the server:
|
||||
```bash
|
||||
cd server
|
||||
npm install http ws
|
||||
mkdir server && cd server
|
||||
npm install @lawlers/4play
|
||||
node hello-world.js
|
||||
```
|
||||
|
||||
## Example server script
|
||||
|
||||
```js
|
||||
const fplay = require("./fplay.js");
|
||||
const fplay = require("@lawlers/4play");
|
||||
|
||||
var port = 3030;
|
||||
var timeout = 30000;
|
||||
|
||||
Reference in New Issue
Block a user