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: Then, start the server:
```bash ```bash
cd server mkdir server && cd server
npm install http ws npm install @lawlers/4play
node hello-world.js node hello-world.js
``` ```
## Example server script ## Example server script
```js ```js
const fplay = require("./fplay.js"); const fplay = require("@lawlers/4play");
var port = 3030; var port = 3030;
var timeout = 30000; var timeout = 30000;