Update README.md
This commit is contained in:
parent
0f1e86b529
commit
81c259fe27
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue