granth-storage-opfs
v0.2.11
Published
OPFS storage backend for granth (opfs-sahpool VFS, no COOP/COEP required).
Readme
granth-storage-opfs
OPFS storage backend for granth.
Uses the opfs-sahpool VFS: the fastest OPFS backend and the only one that needs no COOP/COEP
headers. Writes land in place, so there is nothing to checkpoint. Requires a dedicated Worker —
OPFS sync access handles exist nowhere else.
import { opfsStorage } from 'granth-storage-opfs';
startGranthWorker({ sqlite3InitModule, storage: [opfsStorage()] });Install
npm install granth-storage-opfsFull documentation: https://granthlabs.github.io
License
MIT
