@wxt-dev/storage
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

WXT Storage

ChangelogDocs

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.

Package Sidebar

Install

npm i @wxt-dev/storage

Weekly Downloads

2,377

Version

1.0.1

License

MIT

Unpacked Size

37.9 kB

Total Files

6

Last publish

Collaborators

  • _aklinker1