{"library":"bun-storage","type":"library","category":null,"description":"bun-storage is a zero-dependency ponyfill for the Web Storage API that uses SQLite to persist data. Version 2.0.5 is the current stable release, maintained as a fast Bun-native alternative to node-localstorage or memory-based implementations. It supports localStorage, sessionStorage, storage events, and optional quota enforcement. Compatible with Bun ≥1.0 and Node ≥20. Released via both npm and JSR, with automatic global injection via 'bun-storage/auto'. It differs from other storage libraries by targeting the Bun runtime, using SQLite for reliable persistence, and exposing both class-based and factory APIs.","language":"javascript","status":"active","version":"2.0.5","tags":["javascript","bun","storage api","localstorage","sessionstorage","ponyfill"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install bun-storage","imports":["import { createStorage } from 'bun-storage'","import { Storage } from 'bun-storage'","import 'bun-storage/auto'"]},{"cmd":"yarn add bun-storage","imports":[]},{"cmd":"pnpm add bun-storage","imports":[]}],"homepage":"https://github.com/idleberg/bun-storage#readme","github":"https://github.com/idleberg/bun-storage","docs":null,"changelog":null,"pypi":null,"npm":"bun-storage","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}