Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itss0n1c/bun.db
A wrapper of quick.db for bun.
https://github.com/itss0n1c/bun.db
Last synced: 2 months ago
JSON representation
A wrapper of quick.db for bun.
- Host: GitHub
- URL: https://github.com/itss0n1c/bun.db
- Owner: itss0n1c
- Created: 2024-01-22T19:44:39.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-02-21T17:11:32.000Z (9 months ago)
- Last Synced: 2024-02-21T18:31:08.759Z (9 months ago)
- Language: TypeScript
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bun.db
### A wrapper of [quick.db](https://npmjs.com/package/quick.db) for [bun](https://bun.sh).
## Installation
```zsh
% bun add bun.db
```## Usage
```ts
const db = new BunDB('test.sqlite');await db.set('hello', 'world');
let hello = await db.get('hello') // "world"
```