Storage API wrapper for browser extensions, userscripts and bookmarklets.
Made for browser-extension-starter.
npm i browser-extension-storage
# or
pnpm add browser-extension-storage
# or
yarn add browser-extension-storage
import {
getValue,
setValue,
deleteValue,
listValues,
addValueChangeListener,
} from "browser-extension-storage"
import {
getValue,
setValue,
deleteValue,
listValues,
addValueChangeListener,
} from "browser-extension-storage/userscript"
import {
getValue,
setValue,
deleteValue,
listValues,
addValueChangeListener,
} from "browser-extension-storage/local-storage"
Copyright (c) 2023 Pipecraft. Licensed under the MIT License.