Skip to content

Storage wrapper for browser extensions and userscripts

License

Notifications You must be signed in to change notification settings

utags/browser-extension-storage

Repository files navigation

browser-extension-storage

Storage API wrapper for browser extensions, userscripts and bookmarklets.

Made for browser-extension-starter.

Usage

npm i browser-extension-storage
# or
pnpm add browser-extension-storage
# or
yarn add browser-extension-storage

Chrome, Firefox extensions

import {
  getValue,
  setValue,
  deleteValue,
  listValues,
  addValueChangeListener,
} from "browser-extension-storage"

Userscripts

import {
  getValue,
  setValue,
  deleteValue,
  listValues,
  addValueChangeListener,
} from "browser-extension-storage/userscript"

localStorage

import {
  getValue,
  setValue,
  deleteValue,
  listValues,
  addValueChangeListener,
} from "browser-extension-storage/local-storage"

License

Copyright (c) 2023 Pipecraft. Licensed under the MIT License.

>_

Pipecraft UTags DTO BestXTools

About

Storage wrapper for browser extensions and userscripts

Resources

License

Stars

Watchers

Forks

Packages

No packages published