@wxt-dev/storage
v1.0.1
Published
Web extension storage API provided by WXT, supports all browsers.
Downloads
2,288
Maintainers
Readme
WXT Storage
A simplified wrapper around the extension storage APIs.
Installation
With WXT
This module is built-in to WXT, so you don't need to install anything.
import { storage } from 'wxt/storage';
If you use auto-imports, storage
is auto-imported for you, so you don't even need to import it!
Without WXT
Install the NPM package:
npm i @wxt-dev/storage
pnpm add @wxt-dev/storage
yarn add @wxt-dev/storage
bun add @wxt-dev/storage
import { storage } from '@wxt-dev/storage';
Usage
Read full docs on the documentation website.