mirror of
https://github.com/Yonle/bostr.git
synced 2025-09-27 21:36:21 +02:00
deps: add optional package for another speed: utf-8-validate
Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
@@ -20,7 +20,7 @@ This project solve the problem by **reducing** the number of connected relays, a
|
||||
|
||||
You could set up an bostr bouncer by installing [Bostr CLI](#bostr-cli), or setting up via [The Source Code](#source-code), or via [Docker](#docker).
|
||||
|
||||
**Tip:** When dependencies installation is failed due to failed compilation of `bufferutil` package, Run `npm install` with `--omit=optional` being set (Example: `npm install --omit=optional -g bostr`).
|
||||
**Tip:** When dependencies installation is failed due to failed compilation of `bufferutil` or `utf-8-validate` packages, Run `npm install` with `--omit=optional` being set (Example: `npm install --omit=optional -g bostr`).
|
||||
|
||||
### Bostr CLI
|
||||
Install bostr via `npm`:
|
||||
|
@@ -31,7 +31,8 @@
|
||||
"ws": "^8.17.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"bufferutil": "^4.0.8"
|
||||
"bufferutil": "^4.0.8",
|
||||
"utf-8-validate": "^6.0.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
|
Reference in New Issue
Block a user