Persistent Databases in the Browser with DuckDB-Wasm and OPFS
Summary
The article describes how DuckDB-Wasm can persist data in the browser using the Origin Private File System (OPFS). It covers opening persistent databases, data durability with WALs and checkpoints, data file handling, and exporting data, along with practical code examples and caveats for browser persistence.