@sqlite.org/sqlite-wasm
Advanced tools
Comparing version
{ | ||
"name": "@sqlite.org/sqlite-wasm", | ||
"version": "3.41.2-build4", | ||
"version": "3.41.2-build5", | ||
"description": "SQLite Wasm conveniently wrapped as an ES Module.", | ||
@@ -5,0 +5,0 @@ "main": "index.mjs", |
@@ -13,7 +13,8 @@ # SQLite Wasm | ||
There are two ways to use SQLite Wasm: in the main thread and in a worker. Only | ||
the worker version allows you to use the origin private file system (OPFS) | ||
storage back-end. | ||
There are two ways to use SQLite Wasm: | ||
[in the main thread](#in-the-main-thread-without-opfs) and | ||
[in a worker](#in-a-worker-with-opfs-if-available). Only the worker version | ||
allows you to use the origin private file system (OPFS) storage back-end. | ||
In the main thread (without OPFS): | ||
### In the main thread (without OPFS): | ||
@@ -46,3 +47,3 @@ ```js | ||
In a worker (with OPFS if available): | ||
### In a worker (with OPFS if available): | ||
@@ -49,0 +50,0 @@ > **Warning** For this to work, you need to set the following headers on your |
1784703
0117
0.86%