0.1.4 • Published 1 month ago

bun-storage v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

bun-storage

A ponyfill for the Storage API, utilizing SQLite

License Version Build

Installation

bun install bun-storage

Usage

localStorage

createLocalStorage(dbFile: string)

sessionStorage

createSessionStorage()

Example:

import { createLocalStorage, createSessionStorage } from 'bun-storage';

const localStorage = createLocalStorage('./db.sqlite');
const sessionStorage = createSessionStorage();

License

This work is licensed under The MIT License

0.1.4

1 month ago

0.1.3

4 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago