mirror of
https://github.com/versia-pub/api.git
synced 2025-12-06 08:28:19 +01:00
docs(docs): 📝 Update installation guidelines
This commit is contained in:
parent
c04704a0d2
commit
f6b3741e22
13
README.md
13
README.md
|
|
@ -76,13 +76,24 @@ Transpilation to non-ES Module environments is not officially supported, but sho
|
|||
|
||||
### Installation
|
||||
|
||||
Both packages are distributed as a scoped package on the NPM registry.
|
||||
Both packages are distributed as a scoped package on the NPM registry or [JSR](https://jsr.io).
|
||||
|
||||
We strongly recommend using JSR over NPM for all your packages that are available on it.
|
||||
|
||||
```bash
|
||||
# NPM version
|
||||
deno add npm:@lysand-org/federation npm:@lysand-org/client # For Deno
|
||||
npm install @lysand-org/federation @lysand-org/client # For NPM
|
||||
yarn add @lysand-org/federation @lysand-org/client # For Yarn
|
||||
pnpm add @lysand-org/federation @lysand-org/client # For PNPM
|
||||
bun add @lysand-org/federation @lysand-org/client # For Bun
|
||||
|
||||
# JSR version
|
||||
deno add @lysand-org/federation @lysand-org/client # For Deno
|
||||
npx jsr add @lysand-org/federation @lysand-org/client # For JSR
|
||||
yarn dlx jsr add @lysand-org/federation @lysand-org/client # For Yarn
|
||||
pnpm dlx jsr add @lysand-org/federation @lysand-org/client # For PNPM
|
||||
bunx jsr add @lysand-org/federation @lysand-org/client # For Bun
|
||||
```
|
||||
|
||||
#### From Source
|
||||
|
|
|
|||
|
|
@ -161,13 +161,24 @@ Transpilation to non-ES Module environments is not officially supported, but sho
|
|||
|
||||
### Installation
|
||||
|
||||
Package is distributed as a scoped package on the NPM registry.
|
||||
Package is distributed as a scoped package on the NPM registry and [JSR](https://jsr.io).
|
||||
|
||||
We strongly recommend using JSR over NPM for all your packages that are available on it.
|
||||
|
||||
```bash
|
||||
# NPM version
|
||||
deno add npm:@lysand-org/federation # For Deno
|
||||
npm install @lysand-org/federation # For NPM
|
||||
yarn add @lysand-org/federation # For Yarn
|
||||
pnpm add @lysand-org/federation # For PNPM
|
||||
bun add @lysand-org/federation # For Bun
|
||||
|
||||
# JSR version
|
||||
deno add @lysand-org/federation # For Deno
|
||||
npx jsr add @lysand-org/federation # For JSR
|
||||
yarn dlx jsr add @lysand-org/federation # For Yarn
|
||||
pnpm dlx jsr add @lysand-org/federation # For PNPM
|
||||
bunx jsr add @lysand-org/federation # For Bun
|
||||
```
|
||||
|
||||
#### From Source
|
||||
|
|
|
|||
Loading…
Reference in a new issue