Skip to content

Latest commit

 

History

History
62 lines (48 loc) · 1.3 KB

README.md

File metadata and controls

62 lines (48 loc) · 1.3 KB

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