now uses npm package

This commit is contained in:
2026-07-26 16:54:24 -04:00
parent 4f21030841
commit 567b1ade4a

View File

@@ -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;