Skip to main content
The Storage.extension() adapter uses the browser’s extension storage API to store data. Use this adapter if you are building a browser extension for Chrome, Firefox, or Edge.

Pre-requisites

You will need to enable the storage permission in your extension’s manifest.json file:
Optionally, you can also enable the unlimitedStorage permission to allow your extension to use more than 5MB of storage.

Example