updated docs, fixed run with node/tsx

This commit is contained in:
dswbx
2025-03-28 21:12:50 +01:00
parent b29c04e8c9
commit b2fd907e8c
5 changed files with 28 additions and 20 deletions

View File

@@ -98,7 +98,13 @@ If you're using `npx bknd run`, make sure to create a file in a file format that
}
```
If you still want to use a `.ts` extension, you can start the CLI e.g. using `tsx`:
If you still want to use a `.ts` extension, you can start the CLI e.g. using `node` (>=v22.6.0):
```sh
node --experimental-strip-types node_modules/.bin/bknd run
```
Or with `tsx`:
```sh
npx tsx node_modules/.bin/bknd run