Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
deps: add optional package for another speed: utf-8-validate
Browse files Browse the repository at this point in the history
Signed-off-by: Yonle <yonle@lecturify.net>
  • Loading branch information
Yonle committed May 11, 2024
1 parent 82689f7 commit 32c6a93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 32c6a93

Please sign in to comment.