Update README.md
This commit is contained in:
parent
e7ee76f572
commit
04e4e0e9fd
24
README.md
24
README.md
@ -47,6 +47,16 @@ A schema-driven SQLite manager for [Bun](https://bun.sh), featuring automatic sc
|
|||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
|
This works for just `bun`, so `bun` should be installed.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
There are two ways to install BunSQLite:
|
||||||
|
|
||||||
|
### Via the official npm registry
|
||||||
|
|
||||||
`@moduletrace/bun-sqlite` is published to a private Gitea npm registry. You must configure your package manager to resolve the `@moduletrace` scope from that registry before installing.
|
`@moduletrace/bun-sqlite` is published to a private Gitea npm registry. You must configure your package manager to resolve the `@moduletrace` scope from that registry before installing.
|
||||||
|
|
||||||
Add the following to your project's `.npmrc` file (create it at the root of your project if it doesn't exist):
|
Add the following to your project's `.npmrc` file (create it at the root of your project if it doesn't exist):
|
||||||
@ -55,16 +65,20 @@ Add the following to your project's `.npmrc` file (create it at the root of your
|
|||||||
@moduletrace:registry=https://git.tben.me/api/packages/moduletrace/npm/
|
@moduletrace:registry=https://git.tben.me/api/packages/moduletrace/npm/
|
||||||
```
|
```
|
||||||
|
|
||||||
This works for both `bun` and `npm`.
|
After this you can run
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bun add @moduletrace/bun-sqlite
|
bun add @moduletrace/bun-sqlite
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Via Github
|
||||||
|
|
||||||
|
To install directly from github simply run
|
||||||
|
|
||||||
|
```bash
|
||||||
|
bun add github:moduletrace/bun-sqlite
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user