Update README.md

This commit is contained in:
Endeavorance 2025-07-05 14:03:39 +00:00
parent 0f1e86b529
commit 81c259fe27

View file

@ -12,10 +12,18 @@ To install through an NPM-compatible package manager, start by configuring your
campgrounds = "https://git.astral.camp/api/packages/campgrounds/npm/" campgrounds = "https://git.astral.camp/api/packages/campgrounds/npm/"
``` ```
With NPM, put this in your project's .npmrc:
```
@campgrounds:registry=https://git.astral.camp/api/packages/campgrounds/npm/
```
Then, install the package: Then, install the package:
```shell ```shell
bun add @campgrounds/relay-client bun add @campgrounds/relay-client
# or
npm i @campgrounds/relay-client
``` ```
## Events ## Events