Skip to content

Commit b7ddd38

Browse files
committed
docs: update Node.js version requirement and run instructions in README
1 parent 66265b7 commit b7ddd38

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ WebTorrent tracker is a required component of [WebTorrent](https://github.com/we
2525

2626
## Build instructions
2727

28-
Node.js 16+ is required.
28+
Node.js 22.18.0+ is required for direct TypeScript support.
2929

3030
```sh
3131
npm install
32-
npm run build
3332
```
3433

3534
## Run instructions
@@ -41,6 +40,13 @@ npm run build
4140
or
4241

4342
```sh
43+
node src/run-tracker.ts [config.json]
44+
```
45+
46+
or
47+
48+
```sh
49+
npm run build
4450
node lib/run-tracker.js [config.json]
4551
```
4652

0 commit comments

Comments
 (0)