diff --git a/docs/2.drivers/browser.md b/docs/2.drivers/browser.md index 269b111b..28e19731 100644 --- a/docs/2.drivers/browser.md +++ b/docs/2.drivers/browser.md @@ -57,6 +57,10 @@ const storage = createStorage({ }); ``` +::note +By default, unstorage will `JSON.stringify` the value before passing to IndexedDB. If you want objects to be stored "as-is", you can use `storage.setItemRaw`. +:: + **Options:** - `base`: Add `${base}:` to all keys to avoid collision